Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 784 B view raw
1{ stdenv, lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytestcov }: 2 3buildPythonPackage rec { 4 pname = "clickclick"; 5 version = "1.2.2"; 6 7 src = fetchFromGitHub { 8 owner = "hjacobs"; 9 repo = "python-clickclick"; 10 rev = version; 11 sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0"; 12 }; 13 14 checkInputs = [ pytestCheckHook pytestcov ]; 15 propagatedBuildInputs = [ flake8 click pyyaml six ]; 16 17 disabledTests = lib.optionals isPy36 [ 18 "test_cli" 19 "test_choice_default" 20 ]; 21 22 meta = with stdenv.lib; { 23 description = "Click command line utilities"; 24 homepage = https://github.com/hjacobs/python-clickclick/; 25 license = licenses.asl20; 26 maintainers = with maintainers; [ elohmeier ]; 27 }; 28}