isabel
2026-03-02 14:56:04 +00:00
parent 7b25dc29ae
commit 44eaa96c64
+16 -5
View File
@@ -6,7 +6,7 @@
nix-update-script,
}:
let
version = "2.17.1";
version = "2.17.2";
in
buildGoLatestModule {
pname = "wakapi";
@@ -16,10 +16,10 @@ buildGoLatestModule {
owner = "muety";
repo = "wakapi";
tag = version;
hash = "sha256-/7jYfLs9IcAWYVWISdDeXWV+PfHGFjkxcFkpqH2lxS8=";
hash = "sha256-UK6m8d+Yf5JQgDV/TdPpQ9TL2Y4aG4tR/WOP11IFzfg=";
};
vendorHash = "sha256-AA9gIIUsoJG4RnDZ1fAJu+iqeXXbRbprBVxuVvR1tzo=";
vendorHash = "sha256-oXHTb7DLwWa/qOMSn3EhMTnDeUm1bIVGvuJzcxkiPF0=";
# Not a go module required by the project, contains development utilities
excludedPackages = [ "scripts" ];
@@ -32,8 +32,19 @@ buildGoLatestModule {
"-w"
];
# Skip tests that require network access
checkFlags = [ "-skip=TestLoginHandlerTestSuite" ];
# <https://github.com/muety/wakapi/blob/8c9442b348e4280b388e1073d805058a951ae78e/.github/workflows/release.yml#L60>
env.GOEXPERIMENT = "greenteagc,jsonv2";
checkFlags =
let
skippedTests = [
# Skip tests that require network access
"TestLoginHandlerTestSuite"
"Test_Load_OidcProviders"
"TestUser_MinDataAge"
];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
passthru = {
nixos = nixosTests.wakapi;