depot/third_party/nixpkgs/pkgs/development/python-modules/clickclick/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
786 B
Nix

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