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