summary refs log tree commit diff
path: root/pkgs/development/python-modules/ecpy
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-11-29 19:17:37 +0100
committerfreezeboy <freezeboy@users.noreply.github.com>2020-11-29 19:17:37 +0100
commitb95d95d8fed86af76a9a89a7a6fad5636fd92af5 (patch)
tree856e68821f264e872f98fd089215c31fa9f1687b /pkgs/development/python-modules/ecpy
parent9d440b2342303d6d4afb25b4de6506a337763a99 (diff)
python2Packages.ecpy: unbreak due to invalid code
Diffstat (limited to 'pkgs/development/python-modules/ecpy')
-rw-r--r--pkgs/development/python-modules/ecpy/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ecpy/default.nix b/pkgs/development/python-modules/ecpy/default.nix
index bb54fc6e73fab..37bbb183ff40c 100644
--- a/pkgs/development/python-modules/ecpy/default.nix
+++ b/pkgs/development/python-modules/ecpy/default.nix
@@ -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";