at 23.05-pre 914 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, click 6, setuptools-scm 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "cloup"; 12 version = "1.0.1"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-iQfpz2rl7Y3PJIG2aO+Cu1khx2g68XfOwhkRoENqsTg="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools-scm 23 ]; 24 25 propagatedBuildInputs = [ 26 click 27 ]; 28 29 checkInputs = [ 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ "cloup" ]; 34 35 meta = with lib; { 36 homepage = "https://github.com/janLuke/cloup"; 37 description = "Click extended with option groups, constraints, aliases, help themes"; 38 longDescription = '' 39 Enriches Click with option groups, constraints, command aliases, help sections for subcommands, themes for --help and other stuff. 40 ''; 41 license = licenses.bsd3; 42 maintainers = with maintainers; [ friedelino ]; 43 }; 44}