diff options
author | Enno Lohmeier <enno@nerdworks.de> | 2018-12-21 10:08:40 +0100 |
---|---|---|
committer | Enno Lohmeier <enno@nerdworks.de> | 2019-09-10 17:24:20 +0200 |
commit | ea70d67235cefe1077b22143232e4f6b7df18341 (patch) | |
tree | 76815b66d3b37587a2f69b5cfb32dfa92f82932e /pkgs/development/python-modules/clickclick | |
parent | 8d6878c86119ebef0c10346788d5fa74ff40636b (diff) |
pythonPackages.clickclick: init at 1.2.2
Diffstat (limited to 'pkgs/development/python-modules/clickclick')
-rw-r--r-- | pkgs/development/python-modules/clickclick/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/clickclick/default.nix b/pkgs/development/python-modules/clickclick/default.nix new file mode 100644 index 0000000000000..93cd5c7a1d7d5 --- /dev/null +++ b/pkgs/development/python-modules/clickclick/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, buildPythonPackage, fetchFromGitHub, isPy36, flake8, click, pyyaml, six, pytestCheckHook, pytestcov }: + +buildPythonPackage rec { + pname = "clickclick"; + version = "1.2.2"; + + src = fetchFromGitHub { + owner = "hjacobs"; + repo = "python-clickclick"; + rev = version; + sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0"; + }; + + checkInputs = [ pytestCheckHook pytestcov ]; + propagatedBuildInputs = [ flake8 click pyyaml six ]; + + disabledTests = lib.optionals isPy36 [ + "test_cli" + "test_choice_default" + ]; + + meta = with stdenv.lib; { + description = "Click command line utilities"; + homepage = https://github.com/hjacobs/python-clickclick/; + license = licenses.asl20; + maintainers = with maintainers; [ elohmeier ]; + }; +} |