python2Packages.ecpy: unbreak due to invalid code

This commit is contained in:
freezeboy 2020-11-29 19:17:37 +01:00
parent 9d440b2342
commit b95d95d8fe

View file

@ -9,11 +9,17 @@ buildPythonPackage rec {
sha256 = "9635cffb9b6ecf7fd7f72aea1665829ac74a1d272006d0057d45a621aae20228";
};
prePatch = ''
sed -i "s|reqs.append('future')|pass|" setup.py
'';
propagatedBuildInputs = lib.optional (!isPy3k) future;
# No tests implemented
doCheck = false;
pythonImportsCheck = [ "ecpy" ];
meta = with lib; {
description = "Pure Pyhton Elliptic Curve Library";
homepage = "https://github.com/ubinity/ECPy";