We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6556cc0 commit ba83271Copy full SHA for ba83271
1 file changed
pkgs/development/python-modules/cryptography/default.nix
@@ -7,6 +7,7 @@
7
, cffi
8
, cryptography-vectors ? (callPackage ./vectors.nix { })
9
, fetchPypi
10
+, fetchpatch2
11
, isPyPy
12
, libiconv
13
, libxcrypt
@@ -41,6 +42,14 @@ buildPythonPackage rec {
41
42
hash = "sha256-jw/FC5rQO77h6omtBp0Nc2oitkVbNElbkBUduyprTIc=";
43
};
44
45
+ patches = [
46
+ (fetchpatch2 {
47
+ # skip overflowing tests on 32 bit; https://github.com/pyca/cryptography/pull/10366
48
+ url = "https://github.com/pyca/cryptography/commit/d741901dddd731895346636c0d3556c6fa51fbe6.patch";
49
+ hash = "sha256-eC+MZg5O8Ia5CbjRE4y+JhaFs3Q5c62QtPHr3x9T+zw=";
50
+ })
51
+ ];
52
+
53
postPatch = ''
54
substituteInPlace pyproject.toml \
55
--replace-fail "--benchmark-disable" ""
0 commit comments