summary refs log tree commit diff
path: root/pkgs/development/python-modules/click-default-group/default.nix
blob: eeee7370b7e3cef2504d1a5558262069d2e00a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];
  };
}