Skip to content

Commit

Permalink
python2Packages.ecpy: unbreak due to invalid code
Browse files Browse the repository at this point in the history
  • Loading branch information
freezeboy committed Nov 29, 2020
1 parent 9d440b2 commit b95d95d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/ecpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit b95d95d

Please sign in to comment.