From b95d95d8fed86af76a9a89a7a6fad5636fd92af5 Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sun, 29 Nov 2020 19:17:37 +0100 Subject: [PATCH] python2Packages.ecpy: unbreak due to invalid code --- pkgs/development/python-modules/ecpy/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/ecpy/default.nix b/pkgs/development/python-modules/ecpy/default.nix index bb54fc6e73fa..37bbb183ff40 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";