2019-07-13 10:24:00 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, click, pytest }:
|
2019-01-10 17:14:03 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "click-default-group";
|
2019-11-29 03:25:01 +00:00
|
|
|
version = "1.2.2";
|
2019-01-10 17:14:03 +00:00
|
|
|
|
|
|
|
# No tests in Pypi tarball
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "click-contrib";
|
|
|
|
repo = "click-default-group";
|
|
|
|
rev = "v${version}";
|
2019-11-29 03:25:01 +00:00
|
|
|
sha256 = "0nk39lmkn208w8kvq6f4h3a6qzxrrvxixahpips6ik3zflbkss86";
|
2019-01-10 17:14:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click ];
|
|
|
|
|
2019-07-13 10:24:00 +01:00
|
|
|
checkInputs = [ pytest ];
|
2019-01-10 17:14:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/click-contrib/click-default-group";
|
2019-01-10 17:14:03 +00:00
|
|
|
description = "Group to invoke a command without explicit subcommand name";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|