From 9529118484249a4de633d868e4d50f8b598f1cf7 Mon Sep 17 00:00:00 2001 From: Petr Portnov Date: Thu, 7 May 2026 14:49:51 +0300 Subject: [PATCH 1/3] pipe-rename: add progrm_jarvis to maintainers --- pkgs/by-name/pi/pipe-rename/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/pi/pipe-rename/package.nix b/pkgs/by-name/pi/pipe-rename/package.nix index 11e5008e6600..da98c2d61fc3 100644 --- a/pkgs/by-name/pi/pipe-rename/package.nix +++ b/pkgs/by-name/pi/pipe-rename/package.nix @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage (finalAttrs: { description = "Rename your files using your favorite text editor"; homepage = "https://github.com/marcusbuffett/pipe-rename"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = [ lib.maintainers.progrm_jarvis ]; mainProgram = "renamer"; }; }) From a84aed35dfc8ec32db17de5a994134fa1acc3393 Mon Sep 17 00:00:00 2001 From: Petr Portnov Date: Thu, 7 May 2026 14:53:57 +0300 Subject: [PATCH 2/3] pipe-rename: add nix-update-script --- pkgs/by-name/pi/pipe-rename/package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/pi/pipe-rename/package.nix b/pkgs/by-name/pi/pipe-rename/package.nix index da98c2d61fc3..9c6001587b9e 100644 --- a/pkgs/by-name/pi/pipe-rename/package.nix +++ b/pkgs/by-name/pi/pipe-rename/package.nix @@ -3,6 +3,8 @@ rustPlatform, fetchCrate, python3, + versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -10,7 +12,8 @@ rustPlatform.buildRustPackage (finalAttrs: { version = "1.6.6"; src = fetchCrate { - inherit (finalAttrs) pname version; + pname = "pipe-rename"; + inherit (finalAttrs) version; hash = "sha256-eZldAhqmoIkNZaI6r31hI43KCPDDeWk3fKpY3/BaUQE="; }; @@ -28,9 +31,15 @@ rustPlatform.buildRustPackage (finalAttrs: { patchShebangs tests/editors/env-editor.py ''; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; + meta = { description = "Rename your files using your favorite text editor"; homepage = "https://github.com/marcusbuffett/pipe-rename"; + changelog = "https://github.com/marcusbuffett/pipe-rename/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.progrm_jarvis ]; mainProgram = "renamer"; From 3e9692c5fe21ada311c67dc57ccacbcc66349ec4 Mon Sep 17 00:00:00 2001 From: Petr Portnov Date: Thu, 7 May 2026 14:56:06 +0300 Subject: [PATCH 3/3] pipe-rename: 1.6.6 -> 1.6.7 --- pkgs/by-name/pi/pipe-rename/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pi/pipe-rename/package.nix b/pkgs/by-name/pi/pipe-rename/package.nix index 9c6001587b9e..26a3e1a0f173 100644 --- a/pkgs/by-name/pi/pipe-rename/package.nix +++ b/pkgs/by-name/pi/pipe-rename/package.nix @@ -9,15 +9,15 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "pipe-rename"; - version = "1.6.6"; + version = "1.6.7"; src = fetchCrate { pname = "pipe-rename"; inherit (finalAttrs) version; - hash = "sha256-eZldAhqmoIkNZaI6r31hI43KCPDDeWk3fKpY3/BaUQE="; + hash = "sha256-9Pub+OCN+PiKHfCxflwkHp6JNSB8AqAtKsNTlAsANbA="; }; - cargoHash = "sha256-9xOL8qtUha4dL7V+GC8TnPGjBprKADqzIwOqqMyPB5A="; + cargoHash = "sha256-oYJNiUIi/uYxzd9DfgBgEaEy3g32r44seI56ur9UMcc="; nativeCheckInputs = [ python3 ];