Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flake8, 6 click, 7 pyyaml, 8 six, 9 pytestCheckHook, 10 pytest-cov, 11}: 12 13buildPythonPackage rec { 14 pname = "clickclick"; 15 version = "1.2.2"; 16 format = "setuptools"; 17 18 src = fetchFromGitHub { 19 owner = "hjacobs"; 20 repo = "python-clickclick"; 21 rev = version; 22 sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0"; 23 }; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 pytest-cov 28 ]; 29 propagatedBuildInputs = [ 30 flake8 31 click 32 pyyaml 33 six 34 ]; 35 36 # test_cli asserts on exact quoting style of output 37 disabledTests = [ "test_cli" ]; 38 39 meta = with lib; { 40 description = "Click command line utilities"; 41 homepage = "https://github.com/hjacobs/python-clickclick/"; 42 license = licenses.asl20; 43 }; 44}