2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
flake8,
|
|
|
|
click,
|
|
|
|
pyyaml,
|
|
|
|
six,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-cov,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "clickclick";
|
|
|
|
version = "1.2.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hjacobs";
|
|
|
|
repo = "python-clickclick";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1rij9ws9nhsmagiy1vclzliiqfkxi006rf65qvrw1k3sm2s8p5g0";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-cov
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
flake8
|
|
|
|
click
|
|
|
|
pyyaml
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
# test_cli asserts on exact quoting style of output
|
2024-06-05 15:53:02 +00:00
|
|
|
disabledTests = [ "test_cli" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Click command line utilities";
|
|
|
|
homepage = "https://github.com/hjacobs/python-clickclick/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|