summary refs log tree commit diff
path: root/pkgs/development/python-modules/cryptography
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-03-19 00:12:42 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-26 21:54:57 -0400
commit2a59d24387b7545d1a5d3b97b884da5a47b3f253 (patch)
tree837ac1607ba9a470227c84f483a344f9534505b6 /pkgs/development/python-modules/cryptography
parenta2e8e6ffc90066a447db50a04599bcabd7f9485b (diff)
downloadnixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.tar
nixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.tar.gz
nixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.tar.bz2
nixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.tar.lz
nixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.tar.xz
nixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.tar.zst
nixpkgs-2a59d24387b7545d1a5d3b97b884da5a47b3f253.zip
pycrypto: remove pre-10.12 patch
Diffstat (limited to 'pkgs/development/python-modules/cryptography')
-rw-r--r--pkgs/development/python-modules/cryptography/default.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix
index dfbb14eb7e6..6931212851a 100644
--- a/pkgs/development/python-modules/cryptography/default.nix
+++ b/pkgs/development/python-modules/cryptography/default.nix
@@ -53,14 +53,6 @@ buildPythonPackage rec {
     py.test --disable-pytest-warnings tests
   '';
 
-  # The test assumes that if we're on Sierra or higher, that we use `getentropy`, but for binary
-  # compatibility with pre-Sierra for binary caches, we hide that symbol so the library doesn't
-  # use it. This boils down to them checking compatibility with `getentropy` in two different places,
-  # so let's neuter the second test.
-  postPatch = ''
-    substituteInPlace ./tests/hazmat/backends/test_openssl.py --replace '"16.0"' '"99.0"'
-  '';
-
   # IOKit's dependencies are inconsistent between OSX versions, so this is the best we
   # can do until nix 1.11's release
   __impureHostDeps = [ "/usr/lib" ];