python3Packages.fe25519: relax constraints
This commit is contained in:
parent
838dbde1ab
commit
cf0f42ce9a
1 changed files with 10 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue