Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 608 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4, isPy3k 5, six 6, attrs 7, pytest 8, testtools 9}: 10 11buildPythonPackage rec { 12 version = "1.1.0"; 13 pname = "effect"; 14 disabled = (!isPy3k); 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "7affb603707c648b07b11781ebb793a4b9aee8acf1ac5764c3ed2112adf0c9ea"; 19 }; 20 21 checkInputs = [ 22 pytest 23 testtools 24 ]; 25 26 propagatedBuildInputs = [ 27 six 28 attrs 29 ]; 30 31 checkPhase = '' 32 pytest 33 ''; 34 35 meta = with lib; { 36 description = "Pure effects for Python"; 37 homepage = "https://github.com/python-effect/effect"; 38 license = licenses.mit; 39 }; 40}