Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / effect / default.nix
blob67537dd1f48bb27651ab1c5ee65d51135affd7a1
1 { buildPythonPackage
2 , fetchPypi
3 , lib
4 , isPy3k
5 , six
6 , attrs
7 , pytest
8 , testtools
9 }:
11 buildPythonPackage rec {
12   version = "1.1.0";
13   pname = "effect";
14   disabled = (!isPy3k);
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "7affb603707c648b07b11781ebb793a4b9aee8acf1ac5764c3ed2112adf0c9ea";
19   };
21   checkInputs = [
22     pytest
23     testtools
24   ];
26   propagatedBuildInputs = [
27     six
28     attrs
29   ];
31   checkPhase = ''
32     pytest
33   '';
35   meta = with lib; {
36     description = "Pure effects for Python";
37     homepage = "https://github.com/python-effect/effect";
38     license = licenses.mit;
39   };