1{ buildPythonPackage
2, fetchPypi
3, isPy37
4, lib
5, six
6, attrs
7, pytest
8, testtools
9}:
10buildPythonPackage rec {
11 version = "0.12.0";
12 pname = "effect";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0s8zsncq4l0ar2b4dijf8yzrk13x2swr1w2nb30s1p5jd6r24czl";
17 };
18 checkInputs = [
19 pytest
20 testtools
21 ];
22 propagatedBuildInputs = [
23 six
24 attrs
25 ];
26 checkPhase = ''
27 pytest
28 '';
29 meta = with lib; {
30 description = "Pure effects for Python";
31 homepage = https://github.com/python-effect/effect;
32 license = licenses.mit;
33 };
34}