-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Isidor Zeuner
committed
Dec 5, 2024
1 parent
a574f2b
commit 6df8e32
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
buildGoModule, | ||
fetchgit, | ||
lib, | ||
}: | ||
let | ||
commit = "500493c154652d6986a34b341e98df244ae1ad0d"; | ||
in | ||
buildGoModule rec { | ||
pname = "luci-go"; | ||
version = "20241031"; | ||
|
||
src = fetchgit { | ||
url = "https://chromium.googlesource.com/infra/luci/luci-go"; | ||
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"; | ||
homepage = "https://chromium.googlesource.com/infra/luci/luci-go/"; | ||
changelog = "https://chromium.googlesource.com/infra/luci/luci-go/+log?s=${commit}"; | ||
license = with licenses; [ asl20 ]; | ||
platforms = platforms.all; | ||
maintainers = with maintainers; [ gm6k ]; | ||
}; | ||
} |