depot/third_party/nixpkgs/pkgs/development/python-modules/clickclick/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
793 B
Nix

{
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;
};
}