Files
nixpkgs/pkgs/development/python-modules/clickclick/default.nix
T

31 lines
849 B
Nix
Raw Normal View History

2018-12-21 10:08:40 +01:00
{ 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 ];
2020-06-02 22:41:04 -07:00
# test_cli asserts on exact quoting style of output
disabledTests = [
2018-12-21 10:08:40 +01:00
"test_cli"
2020-06-02 22:41:04 -07:00
] ++ lib.optionals isPy36 [
2018-12-21 10:08:40 +01:00
"test_choice_default"
];
meta = with stdenv.lib; {
description = "Click command line utilities";
homepage = "https://github.com/hjacobs/python-clickclick/";
2018-12-21 10:08:40 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ elohmeier ];
};
}