python3Packages.fe25519: relax constraints

This commit is contained in:
Fabian Affolter 2021-12-03 09:15:31 +01:00
parent 838dbde1ab
commit cf0f42ce9a

View file

@ -11,6 +11,7 @@
buildPythonPackage rec {
pname = "fe25519";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
@ -28,7 +29,15 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "fe25519" ];
postPatch = ''
substituteInPlace setup.py \
--replace "bitlist~=0.5.1" "bitlist>=0.5.1" \
--replace "parts~=1.1.2" "parts>=1.1.2"
'';
pythonImportsCheck = [
"fe25519"
];
meta = with lib; {
description = "Python field operations for Curve25519's prime";