diff options
Diffstat (limited to 'pkgs/development/python-modules/m2crypto/default.nix')
-rw-r--r-- | pkgs/development/python-modules/m2crypto/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/m2crypto/default.nix b/pkgs/development/python-modules/m2crypto/default.nix index 75f1e94f3bb2..e9615872fdaf 100644 --- a/pkgs/development/python-modules/m2crypto/default.nix +++ b/pkgs/development/python-modules/m2crypto/default.nix @@ -12,15 +12,14 @@ buildPythonPackage rec { pname = "m2crypto"; - version = "0.41.0"; + version = "0.42.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { - pname = "M2Crypto"; - inherit version; - hash = "sha256-OhNYx+6EkEbZF4Knd/F4a/AnocHVG1+vjxlDW/w/FJU="; + inherit pname version; + hash = "sha256-QrYt8sr2IxYbHWQ6cjVGTC/ioxBQSevEmKbUfcCPZLQ="; }; build-system = [ setuptools ]; @@ -31,7 +30,7 @@ buildPythonPackage rec { env = { - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [ + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [ "-Wno-error=implicit-function-declaration" "-Wno-error=incompatible-pointer-types" ]); |