From 2b206b69b83b0ca3d1129912e0c8dbd2299647bc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Apr 2026 11:09:55 +0000 Subject: [PATCH 1/2] python3Packages.gitlike-commands: 0.3.0 -> 0.3.1 --- pkgs/development/python-modules/gitlike-commands/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gitlike-commands/default.nix b/pkgs/development/python-modules/gitlike-commands/default.nix index e1fb2f8d298d..cdb77ac46541 100644 --- a/pkgs/development/python-modules/gitlike-commands/default.nix +++ b/pkgs/development/python-modules/gitlike-commands/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "gitlike-commands"; - version = "0.3.0"; + version = "0.3.1"; pyproject = true; src = fetchFromGitHub { owner = "unixorn"; repo = "gitlike-commands"; tag = "v${version}"; - hash = "sha256-Z0l8nCKov1iMJvI3YTHvg0ey+oPju3rgaKtmk6OX44g="; + hash = "sha256-7z6JJgTbELWor8GodtWRg51/oeakLcb9rAdT6K0/JQs="; }; nativeBuildInputs = [ poetry-core ]; From 078d318015e741c35113686a241e7bb4bbd825ea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Apr 2026 14:20:14 +0200 Subject: [PATCH 2/2] python3Packages.gitlike-commands: modernize --- .../python-modules/gitlike-commands/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/gitlike-commands/default.nix b/pkgs/development/python-modules/gitlike-commands/default.nix index cdb77ac46541..6452f756120f 100644 --- a/pkgs/development/python-modules/gitlike-commands/default.nix +++ b/pkgs/development/python-modules/gitlike-commands/default.nix @@ -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 ]; }; -} +})