about summary refs log tree commit diff
path: root/pkgs/development/python-modules/clickclick/default.nix
blob: 117e5c0c419666b3c74018c9c2f5e415b1a89b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flake8,
  click,
  pyyaml,
  six,
  pytestCheckHook,
  pytest-cov,
}:

buildPythonPackage rec {
  pname = "clickclick";
  version = "1.2.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "hjacobs";
    repo = "python-clickclick";
    rev = version;
    sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0";
  };

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov
  ];
  propagatedBuildInputs = [
    flake8
    click
    pyyaml
    six
  ];

  # test_cli asserts on exact quoting style of output
  disabledTests = [ "test_cli" ];

  meta = with lib; {
    description = "Click command line utilities";
    homepage = "https://github.com/hjacobs/python-clickclick/";
    license = licenses.asl20;
  };
}