privacyidea: fix build
Failing Hydra build: https://hydra.nixos.org/build/192932057 Just a small test error, workaround applied from upstream/master.
This commit is contained in:
parent
ecaf6aed02
commit
1c7728df2a
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchFromGitHub, cacert, openssl, nixosTests
|
||||
, python39
|
||||
, python39, fetchpatch
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -107,6 +107,16 @@ python3'.pkgs.buildPythonPackage rec {
|
|||
pydash ecdsa google-auth importlib-metadata argon2-cffi bcrypt
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Apply https://github.com/privacyidea/privacyidea/pull/3304, fixes
|
||||
# `Exceeds the limit (4300) for integer string conversion` in the tests,
|
||||
# see https://hydra.nixos.org/build/192932057
|
||||
(fetchpatch {
|
||||
url = "https://github.com/privacyidea/privacyidea/commit/0e28f36c0b3291a361669f4a3a77c294f4564475.patch";
|
||||
sha256 = "sha256-QqcO8bkt+I2JKce/xk2ZhzEaLZ3E4uZ4x5W9Kk0pMQQ=";
|
||||
})
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) privacyidea; };
|
||||
|
||||
checkInputs = with python3'.pkgs; [ openssl mock pytestCheckHook responses testfixtures ];
|
||||
|
|
Loading…
Reference in a new issue