Skip to content

Commit

Permalink
luci-go: init at 0-unstable-2024-10-31
Browse files Browse the repository at this point in the history
  • Loading branch information
Isidor Zeuner committed Dec 8, 2024
1 parent a574f2b commit 9e3e29e
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pkgs/by-name/lu/luci-go/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
buildGoModule,
fetchFromGitiles,
lib,
}:
let
commit = "500493c154652d6986a34b341e98df244ae1ad0d";
git-repo = "https://chromium.googlesource.com/infra/luci/luci-go";
in
buildGoModule rec {
pname = "luci-go";
version = "0-unstable-2024-10-31";

src = fetchFromGitiles {
url = git-repo;
rev = commit;
hash = "sha256-HP4Aizt5FJA3IAlqs7gylw8/xUbBwsmReGaR8jIkmrk=";
};

vendorHash = "sha256-FMqbEls6MivPeReZTADrfcAvxo8o0Gy7bq9xG6WN38k=";

checkFlags =
let
skippedTests = [
# require network access
"TestDownloadInputs"
"TestInstallCipd"
"TestIsLocalAddr"
"TestGenerateSignedURL"

# require filesystem access
"TestPythonBasic"
"TestPythonFromPath"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];

meta = with lib; {
description = ''
LUCI services and tools in Go which is part of Chromium infra
'';
homepage = "${git-repo}/";
changelog = "${git-repo}/+log?s=${commit}";
license = licenses.asl20;
maintainers = with maintainers; [ gm6k ];
};
}

0 comments on commit 9e3e29e

Please sign in to comment.