83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
44 lines
924 B
Nix
44 lines
924 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, click
|
|
, setuptools-scm
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cloup";
|
|
version = "2.0.0.post1";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-FDDJB1Bi4Jy2TNhKt6/l1azSit9WHWqzEJ6xl1u9e2s=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "cloup" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/janLuke/cloup";
|
|
description = "Click extended with option groups, constraints, aliases, help themes";
|
|
longDescription = ''
|
|
Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff.
|
|
'';
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ friedelino ];
|
|
};
|
|
}
|