mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
Merge pull request #18836 from nlewo/master
pyopenssl: 16.0.0 -> 16.1.0
This commit is contained in:
commit
423eebde88
@ -20325,16 +20325,26 @@ in modules // {
|
||||
|
||||
pyopenssl = buildPythonPackage rec {
|
||||
name = "pyopenssl-${version}";
|
||||
version = "16.0.0";
|
||||
version = "16.1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz";
|
||||
sha256 = "0zfijaxlq4vgi6jz0d4i5xq9ygqnyps6br7lmigjhqnh8gp10g9n";
|
||||
sha256 = "88f7ada2a71daf2c78a4f139b19d57551b4c8be01f53a1cb5c86c2f3bf01355f";
|
||||
};
|
||||
|
||||
# 12 tests failing, 26 error out
|
||||
doCheck = false;
|
||||
preCheck = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/test_numeric_string_x509_name_entry/noop/' tests/hazmat/backends/test_openssl.py
|
||||
'' + ''
|
||||
sed -i 's/test_set_default_verify_paths/noop/' tests/test_ssl.py
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
export LANG="en_US.UTF-8";
|
||||
py.test;
|
||||
runHook postCheck'';
|
||||
|
||||
buildInputs = [ pkgs.openssl self.pytest pkgs.glibcLocales ];
|
||||
propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user