Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 38 lines 649 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, param 6, pyyaml 7, requests 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "pyct"; 13 version = "0.4.8"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7"; 18 }; 19 20 doCheck = !isPy27; 21 checkInputs = [ pytest ]; 22 propagatedBuildInputs = [ 23 param 24 pyyaml 25 requests 26 ]; 27 28 checkPhase = '' 29 pytest 30 ''; 31 32 meta = with lib; { 33 description = "Cli for python common tasks for users"; 34 homepage = "https://github.com/pyviz/pyct"; 35 license = licenses.bsd3; 36 maintainers = [ maintainers.costrouc ]; 37 }; 38}