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