Skip to content

Commit 4e5fe0f

Browse files
luci-go: init at 0-unstable-2024-10-31 (#362006)
2 parents 22b5fc9 + 4e62d6f commit 4e5fe0f

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
buildGoModule,
3+
fetchFromGitiles,
4+
lib,
5+
}:
6+
let
7+
commit = "500493c154652d6986a34b341e98df244ae1ad0d";
8+
git-repo = "https://chromium.googlesource.com/infra/luci/luci-go";
9+
in
10+
buildGoModule {
11+
pname = "luci-go";
12+
version = "0-unstable-2024-10-31";
13+
14+
src = fetchFromGitiles {
15+
url = git-repo;
16+
rev = commit;
17+
hash = "sha256-HP4Aizt5FJA3IAlqs7gylw8/xUbBwsmReGaR8jIkmrk=";
18+
};
19+
20+
vendorHash = "sha256-FMqbEls6MivPeReZTADrfcAvxo8o0Gy7bq9xG6WN38k=";
21+
22+
checkFlags =
23+
let
24+
skippedTests = [
25+
# require network access
26+
"TestDownloadInputs"
27+
"TestInstallCipd"
28+
"TestIsLocalAddr"
29+
"TestGenerateSignedURL"
30+
31+
# require filesystem access
32+
"TestPythonBasic"
33+
"TestPythonFromPath"
34+
];
35+
in
36+
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
37+
38+
meta = {
39+
description = "LUCI services and tools in Go";
40+
longDescription = ''
41+
LUCI services and tools in Go. This is part of Chromium infra and
42+
provides facilities useful for packaging software from the Chromium
43+
ecosystem.
44+
'';
45+
homepage = "${git-repo}/";
46+
changelog = "${git-repo}/+log?s=${commit}";
47+
license = lib.licenses.asl20;
48+
maintainers = with lib.maintainers; [ gm6k ];
49+
};
50+
}

0 commit comments

Comments
 (0)