python312Packages.python-axolotl-curve25519: fix build (#354706)
This commit is contained in:
commit
e3893e5c3c
@ -2,22 +2,34 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
|
fetchpatch,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-axolotl-curve25519";
|
pname = "python-axolotl-curve25519";
|
||||||
version = "0.4.1.post2";
|
version = "0.4.1.post2";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3";
|
sha256 = "0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
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=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
homepage = "https://github.com/tgalal/python-axolotl-curve25519";
|
homepage = "https://github.com/tgalal/python-axolotl-curve25519";
|
||||||
description = "Curve25519 with ed25519 signatures";
|
description = "Curve25519 with ed25519 signatures";
|
||||||
maintainers = with maintainers; [ abbradar ];
|
maintainers = with lib.maintainers; [ abbradar ];
|
||||||
license = licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user