python312Packages.python-axolotl-curve25519: fix build on darwin

This commit is contained in:
Moraxyc 2024-11-09 16:08:48 +08:00
parent 76612b17c0
commit 533fffa449
No known key found for this signature in database

View File

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
}:
buildPythonPackage rec {
@ -14,6 +15,14 @@ buildPythonPackage rec {
sha256 = "0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3";
};
patches = [
# https://github.com/tgalal/python-axolotl-curve25519/pull/26
(fetchpatch {
url = "https://github.com/tgalal/python-axolotl-curve25519/commit/901f4fb12e1290b72fbd26ea1f40755b079fa241.patch";
hash = "sha256-hdhaOysRXI9q5D9e/bfy0887bpEFSvUyrbl32nBgteQ=";
})
];
meta = with lib; {
homepage = "https://github.com/tgalal/python-axolotl-curve25519";
description = "Curve25519 with ed25519 signatures";