Merge pull request #265884 from r-ryantm/auto-update/python310Packages.m2crypto

python310Packages.m2crypto: 0.39.0 -> 0.40.1
This commit is contained in:
Weijia Wang 2023-12-09 01:31:18 +01:00 committed by GitHub
commit 0542d3fd03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, openssl
@ -10,7 +11,7 @@
buildPythonPackage rec {
pname = "m2crypto";
version = "0.39.0";
version = "0.40.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "M2Crypto";
inherit version;
hash = "sha256-JMD0cTWLixmtTIqp2hLoaAMLZcH9syedAG32DJUBM4o=";
hash = "sha256-u/0RPsVXCMBYFiUqTwnkI33087v8gXHLvDMFfSV7uzA=";
};
nativeBuildInputs = [
@ -31,6 +32,11 @@ buildPythonPackage rec {
parameterized
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
"-Wno-error=implicit-function-declaration"
"-Wno-error=incompatible-pointer-types"
]);
nativeCheckInputs = [
pytestCheckHook
];