3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/click-default-group/default.nix

26 lines
687 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitHub, click, pytest }:
buildPythonPackage rec {
pname = "click-default-group";
version = "1.2.1";
# No tests in Pypi tarball
src = fetchFromGitHub {
owner = "click-contrib";
repo = "click-default-group";
rev = "v${version}";
sha256 = "1wdmabfpmzxpiww0slinvxm9xjyxql250dn1pvjijq675pxafiz4";
};
propagatedBuildInputs = [ click ];
checkInputs = [ pytest ];
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 ];
};
}