at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 crashtest, 5 fetchFromGitHub, 6 pastel, 7 poetry-core, 8 pylev, 9 pytest-mock, 10 pytestCheckHook, 11 pythonOlder, 12}: 13 14buildPythonPackage rec { 15 pname = "clikit"; 16 version = "0.6.2"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchFromGitHub { 22 owner = "sdispater"; 23 repo = "clikit"; 24 tag = version; 25 hash = "sha256-xAsUNhVQBjtSFHyjjnicAKRC3+Tdn3AdGDUYhmOOIdA="; 26 }; 27 28 pythonRelaxDeps = [ "crashtest" ]; 29 30 build-system = [ poetry-core ]; 31 32 dependencies = [ 33 crashtest 34 pastel 35 pylev 36 ]; 37 38 nativeCheckInputs = [ 39 pytest-mock 40 pytestCheckHook 41 ]; 42 43 pythonImportsCheck = [ "clikit" ]; 44 45 meta = with lib; { 46 description = "Group of utilities to build beautiful and testable command line interfaces"; 47 homepage = "https://github.com/sdispater/clikit"; 48 changelog = "https://github.com/sdispater/clikit/blob/${version}/CHANGELOG.md"; 49 license = licenses.mit; 50 maintainers = with maintainers; [ jakewaksbaum ]; 51 }; 52}