1{ lib, buildPythonPackage, fetchFromGitHub, flake8, click, pyyaml, six, pytestCheckHook, pytest-cov }:
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 nativeCheckInputs = [ pytestCheckHook pytest-cov ];
15 propagatedBuildInputs = [ flake8 click pyyaml six ];
16
17 # test_cli asserts on exact quoting style of output
18 disabledTests = [
19 "test_cli"
20 ];
21
22 meta = with 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}