python312Packages.oscrypto: fix build

This commit is contained in:
Martin Weinelt 2023-12-11 15:49:10 +01:00
parent 8fdc715b1b
commit fca9141148
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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 = ''