nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.argon2_cffi: fix cross-compilation, 20.1.0 -> 21.1.0

authored by

legendofmiracles and committed by
Jonathan Ringer
ab17d963 e8bb837c

+8 -2
+8 -2
pkgs/development/python-modules/argon2_cffi/default.nix
··· 8 8 , fetchPypi 9 9 , isPy3k 10 10 , lib 11 + , stdenv 11 12 }: 12 13 13 14 buildPythonPackage rec { 14 15 pname = "argon2_cffi"; 15 - version = "20.1.0"; 16 + version = "21.1.0"; 16 17 17 18 src = fetchPypi { 18 19 pname = "argon2-cffi"; 19 20 inherit version; 20 - sha256 = "0zgr4mnnm0p4i99023safb0qb8cgvl202nly1rvylk2b7qnrn0nq"; 21 + sha256 = "sha256-9xC2EQPRofaSyj7L0Tc+KKpeVFrGJboGf/L+yhsruHA="; 21 22 }; 22 23 23 24 propagatedBuildInputs = [ cffi six ] ++ lib.optional (!isPy3k) enum34; 25 + 26 + propagatedNativeBuildInputs = [ cffi ]; 27 + 28 + ARGON2_CFFI_USE_SSE2 = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) "0"; 29 + 24 30 checkInputs = [ hypothesis pytest wheel ]; 25 31 checkPhase = '' 26 32 pytest tests