fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
874 B
Nix
37 lines
874 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gitlike-commands";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "unixorn";
|
|
repo = "gitlike-commands";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Z0l8nCKov1iMJvI3YTHvg0ey+oPju3rgaKtmk6OX44g=";
|
|
};
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
# Module has no real tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "gitlike_commands" ];
|
|
|
|
meta = with lib; {
|
|
description = "Easy python module for creating git-style subcommand handling";
|
|
homepage = "https://github.com/unixorn/gitlike-commands";
|
|
changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|