Merge pull request #105387 from freezeboy/unbreak-py2-ecpy

python2Packages.ecpy: unbreak due to invalid code
This commit is contained in:
Sandro 2020-11-30 04:05:14 +01:00 committed by GitHub
commit ea3561228d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";