python3Packages.gitlike-commands: modernize

This commit is contained in:
Fabian Affolter
2026-04-04 14:20:14 +02:00
committed by GitHub
parent 2b206b69b8
commit 078d318015
@@ -5,7 +5,7 @@
poetry-core,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "gitlike-commands";
version = "0.3.1";
pyproject = true;
@@ -13,11 +13,11 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "unixorn";
repo = "gitlike-commands";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7z6JJgTbELWor8GodtWRg51/oeakLcb9rAdT6K0/JQs=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
# Module has no real tests
doCheck = false;
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
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}";
changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})