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-07-13 10:24:00 +01:00
|
|
|
version = "1.2.1";
|
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-07-13 10:24:00 +01:00
|
|
|
sha256 = "1wdmabfpmzxpiww0slinvxm9xjyxql250dn1pvjijq675pxafiz4";
|
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; {
|
|
|
|
homepage = https://github.com/click-contrib/click-default-group;
|
|
|
|
description = "Group to invoke a command without explicit subcommand name";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|