diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-11 15:49:10 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-20 20:46:18 +0100 |
commit | fca91411484ca57e1ee26e804afcd2ea6b62b6e1 (patch) | |
tree | 1be90e4aaa297d1bdb7c84f35d60a0dbaf7f46e5 /pkgs/development/python-modules/oscrypto | |
parent | 8fdc715b1b1904e9ef6d9478cfa17fb707fc70d0 (diff) |
python312Packages.oscrypto: fix build
Diffstat (limited to 'pkgs/development/python-modules/oscrypto')
-rw-r--r-- | pkgs/development/python-modules/oscrypto/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/oscrypto/default.nix b/pkgs/development/python-modules/oscrypto/default.nix index 92edbdf84eb9e..c3cea1d5bcde5 100644 --- a/pkgs/development/python-modules/oscrypto/default.nix +++ b/pkgs/development/python-modules/oscrypto/default.nix @@ -3,6 +3,7 @@ , asn1crypto , buildPythonPackage , fetchFromGitHub +, fetchpatch , openssl , pytestCheckHook , pythonOlder @@ -24,6 +25,12 @@ buildPythonPackage rec { patches = [ ./support-openssl-3.0.10.patch + + (fetchpatch { + # backport removal of imp module usage + url = "https://github.com/wbond/oscrypto/commit/3865f5d528740aa1205d16ddbee84c5b48aeb078.patch"; + hash = "sha256-lQGoPM7EicwCPWapEDkqWEqMqXk4tijiImxndcDFqY4="; + }) ]; postPatch = '' |