summary refs log tree commit diff
path: root/pkgs/development/python-modules/effect/default.nix
blob: 6b8329550da39bcada8805191847c6a7a9ba4469 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ buildPythonPackage
, fetchPypi
, lib
, six
, attrs
, pytest
, testtools
}:
buildPythonPackage rec {
  version = "0.12.0";
  pname = "effect";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0s8zsncq4l0ar2b4dijf8yzrk13x2swr1w2nb30s1p5jd6r24czl";
  };
  checkInputs = [
    pytest
    testtools
  ];
  propagatedBuildInputs = [
    six
    attrs
  ];
  checkPhase = ''
    pytest
  '';
  meta = with lib; {
    description = "Pure effects for Python";
    homepage = https://github.com/python-effect/effect;
    license = licenses.mit;
  };
}