···1{ stdenv
2, buildPythonPackage
3, fetchPypi
04, openssl
5, cryptography_vectors
6, darwin
···49 pytz
50 ];
51052 checkPhase = ''
53- py.test --disable-pytest-warnings tests
54 '';
00000005556 # IOKit's dependencies are inconsistent between OSX versions, so this is the best we
57 # can do until nix 1.11's release
···1{ stdenv
2, buildPythonPackage
3, fetchPypi
4+, fetchpatch
5, openssl
6, cryptography_vectors
7, darwin
···50 pytz
51 ];
5253+ # remove when https://github.com/pyca/cryptography/issues/4998 is fixed
54 checkPhase = ''
55+ py.test --disable-pytest-warnings tests -k 'not load_ecdsa_no_named_curve'
56 '';
57+58+ patches = [
59+ (fetchpatch {
60+ url = "https://github.com/pyca/cryptography/commit/e575e3d482f976c4a1f3203d63ea0f5007a49a2a.patch";
61+ sha256 = "0vg9prqsizd6gzh5j7lscsfxzxlhz7pacvzhgqmj1vhdhjwbblcp";
62+ })
63+ ];
6465 # IOKit's dependencies are inconsistent between OSX versions, so this is the best we
66 # can do until nix 1.11's release