depot/third_party/nixpkgs/pkgs/development/python-modules/cloup/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

44 lines
915 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, click
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "cloup";
version = "0.15.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-gAi0gKd9ihEseHAvZGda299Z+tw545HzuovKycTUzYY=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
click
];
checkInputs = [
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 ];
};
}