Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 27 lines 679 B view raw
1{ lib, buildPythonPackage, fetchPypi, pythonOlder 2, attrs 3, pytest 4}: 5 6buildPythonPackage rec { 7 pname = "outcome"; 8 version = "1.0.0"; 9 disabled = pythonOlder "3.4"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0wdcakx1r1317bx6139k9gv6k272fryid83d1kk0r43andfw0n4x"; 14 }; 15 16 checkInputs = [ pytest ]; 17 propagatedBuildInputs = [ attrs ]; 18 # Has a test dependency on trio, which depends on outcome. 19 doCheck = false; 20 21 meta = { 22 description = "Capture the outcome of Python function calls."; 23 homepage = https://github.com/python-trio/outcome; 24 license = with lib.licenses; [ mit asl20 ]; 25 maintainers = with lib.maintainers; [ catern ]; 26 }; 27}