nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #204002 from tjni/pyopenssl

authored by

Sandro and committed by
GitHub
b06dbde2 e3da5a80

+9 -6
+9 -6
pkgs/development/python-modules/pyopenssl/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchPypi 5 + , fetchpatch 5 6 , openssl 6 7 , cryptography 7 8 , pytestCheckHook ··· 22 21 sha256 = "sha256-eoO3snLdWVIi1nL1zimqAw8fuDdjDvIp9i5y45XOiWg="; 23 22 }; 24 23 24 + patches = [ 25 + (fetchpatch { 26 + name = "fix-flaky-darwin-handshake-tests.patch"; 27 + url = "https://github.com/pyca/pyopenssl/commit/8a75898356806784caf742e8277ef03de830ce11.patch"; 28 + hash = "sha256-UVsZ8Nq1jUTZhOUAilRgdtqMYp4AN7qvWHqc6RleqRI="; 29 + }) 30 + ]; 31 + 25 32 postPatch = '' 26 33 # remove cryptography pin 27 34 sed "/cryptography/ s/,<[0-9]*//g" setup.py 28 35 ''; 29 - 30 - # Seems to fail unpredictably on Darwin. See https://hydra.nixos.org/build/49877419/nixlog/1 31 - # for one example, but I've also seen ContextTests.test_set_verify_callback_exception fail. 32 - doCheck = !stdenv.isDarwin; 33 36 34 37 nativeBuildInputs = [ openssl ]; 35 38 propagatedBuildInputs = [ cryptography ]; ··· 84 79 homepage = "https://github.com/pyca/pyopenssl"; 85 80 license = licenses.asl20; 86 81 maintainers = with maintainers; [ SuperSandro2000 ]; 87 - # https://github.com/pyca/pyopenssl/issues/873 88 - broken = stdenv.isDarwin && stdenv.isAarch64; 89 82 }; 90 83 }