wakapi: 2.17.1 -> 2.17.2
Diff: https://github.com/muety/wakapi/compare/2.17.1...2.17.2 Changelog: https://github.com/muety/wakapi/releases/tag/2.17.2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user