1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "gitlike-commands"; 11 version = "0.3.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchFromGitHub { 17 owner = "unixorn"; 18 repo = "gitlike-commands"; 19 tag = "v${version}"; 20 hash = "sha256-Z0l8nCKov1iMJvI3YTHvg0ey+oPju3rgaKtmk6OX44g="; 21 }; 22 23 nativeBuildInputs = [ poetry-core ]; 24 25 # Module has no real tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "gitlike_commands" ]; 29 30 meta = with lib; { 31 description = "Easy python module for creating git-style subcommand handling"; 32 homepage = "https://github.com/unixorn/gitlike-commands"; 33 changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/v${version}"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}