python311Packages.cryptography: skip overflowing tests on 32-bit
This commit is contained in:
parent
6556cc0f76
commit
ba83271df0
@ -7,6 +7,7 @@
|
|||||||
, cffi
|
, cffi
|
||||||
, cryptography-vectors ? (callPackage ./vectors.nix { })
|
, cryptography-vectors ? (callPackage ./vectors.nix { })
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch2
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, libiconv
|
, libiconv
|
||||||
, libxcrypt
|
, libxcrypt
|
||||||
@ -41,6 +42,14 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-jw/FC5rQO77h6omtBp0Nc2oitkVbNElbkBUduyprTIc=";
|
hash = "sha256-jw/FC5rQO77h6omtBp0Nc2oitkVbNElbkBUduyprTIc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
# skip overflowing tests on 32 bit; https://github.com/pyca/cryptography/pull/10366
|
||||||
|
url = "https://github.com/pyca/cryptography/commit/d741901dddd731895346636c0d3556c6fa51fbe6.patch";
|
||||||
|
hash = "sha256-eC+MZg5O8Ia5CbjRE4y+JhaFs3Q5c62QtPHr3x9T+zw=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "--benchmark-disable" ""
|
--replace-fail "--benchmark-disable" ""
|
||||||
|
Loading…
Reference in New Issue
Block a user