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

python3Packages.oscrypto: fixup with openssl 3.0.10

+15
+4
pkgs/development/python-modules/oscrypto/default.nix
··· 22 22 hash = "sha256-CmDypmlc/kb6ONCUggjT1Iqd29xNSLRaGh5Hz36dvOw="; 23 23 }; 24 24 25 + patches = [ 26 + ./support-openssl-3.0.10.patch 27 + ]; 28 + 25 29 postPatch = '' 26 30 for file in oscrypto/_openssl/_lib{crypto,ssl}_c{ffi,types}.py; do 27 31 substituteInPlace $file \
+11
pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch
··· 1 + https://github.com/wbond/oscrypto/issues/75 2 + --- a/oscrypto/_openssl/_libcrypto_cffi.py 3 + +++ b/oscrypto/_openssl/_libcrypto_cffi.py 4 + @@ -37,1 +37,1 @@ 5 + -version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string) 6 + +version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string) 7 + --- a/oscrypto/_openssl/_libcrypto_ctypes.py 8 + +++ b/oscrypto/_openssl/_libcrypto_ctypes.py 9 + @@ -40,1 +40,1 @@ 10 + -version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string) 11 + +version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)