diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2020-03-28 01:22:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 01:22:02 -0400 |
commit | 702b89f9526245ea2633f20e8c005fc8d484f365 (patch) | |
tree | 3eed949d2334dca7aeac73548d9183814af90233 /pkgs | |
parent | 0df2d9f90038b0976b99cf179cdc1ded21701991 (diff) | |
parent | 3b7b98ce1e653db0123b7529a5a78961fa424fb3 (diff) |
Merge pull request #83573 from bhipple/f/effect
pythonPackages.effect: fix build by marking py3 only
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/effect/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/effect/default.nix b/pkgs/development/python-modules/effect/default.nix index fec5518f0e80e..67537dd1f48bb 100644 --- a/pkgs/development/python-modules/effect/default.nix +++ b/pkgs/development/python-modules/effect/default.nix @@ -1,33 +1,40 @@ { buildPythonPackage , fetchPypi , lib +, isPy3k , six , attrs , pytest , testtools }: + buildPythonPackage rec { version = "1.1.0"; pname = "effect"; + disabled = (!isPy3k); src = fetchPypi { inherit pname version; sha256 = "7affb603707c648b07b11781ebb793a4b9aee8acf1ac5764c3ed2112adf0c9ea"; }; + checkInputs = [ pytest testtools ]; + propagatedBuildInputs = [ six attrs ]; + checkPhase = '' pytest ''; + meta = with lib; { description = "Pure effects for Python"; - homepage = https://github.com/python-effect/effect; + homepage = "https://github.com/python-effect/effect"; license = licenses.mit; }; } |