From 145cc3ae032004c7cac18be335e5903961e68904 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Dec 2021 09:20:44 +0100 Subject: [PATCH] python3Packages.ge25519: relax constraints --- pkgs/development/python-modules/ge25519/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ge25519/default.nix b/pkgs/development/python-modules/ge25519/default.nix index 1a00108a8f8f..62d7e271ba8a 100644 --- a/pkgs/development/python-modules/ge25519/default.nix +++ b/pkgs/development/python-modules/ge25519/default.nix @@ -12,6 +12,7 @@ buildPythonPackage rec { pname = "ge25519"; version = "1.0.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; @@ -30,7 +31,15 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "ge25519" ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "bitlist~=0.5.1" "bitlist>=0.5.1" \ + --replace "parts~=1.1.2" "parts>=1.1.2" + ''; + + pythonImportsCheck = [ + "ge25519" + ]; meta = with lib; { description = "Python implementation of Ed25519 group elements and operations";