From 13fca2beb852722320bd9e6de7967202d07fad34 Mon Sep 17 00:00:00 2001 From: pinage404 Date: Tue, 11 Aug 2026 14:45:52 +0200 Subject: [PATCH 1/3] cook-cli: add a maintainer --- pkgs/by-name/co/cook-cli/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/co/cook-cli/package.nix b/pkgs/by-name/co/cook-cli/package.nix index b71119b5aee7..d23062ca6391 100644 --- a/pkgs/by-name/co/cook-cli/package.nix +++ b/pkgs/by-name/co/cook-cli/package.nix @@ -56,6 +56,7 @@ rustPlatform.buildRustPackage (finalAttrs: { maintainers = [ lib.maintainers.emilioziniades lib.maintainers.ginkogruen + lib.maintainers.pinage404 ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; }; From 73be7158f0a412ef74aea3bdbf605931b5d1ac92 Mon Sep 17 00:00:00 2001 From: pinage404 Date: Tue, 11 Aug 2026 14:46:08 +0200 Subject: [PATCH 2/3] cook-cli: 0.32.1 -> 0.33.0 Diff: https://github.com/cooklang/cookcli/compare/v0.32.1...v0.33.0 Changelog: https://github.com/cooklang/cookcli/releases/tag/v0.33.0 Automatic update was failing with the `npmDepsHash` https://nixpkgs-update-logs.nix-community.org/cook-cli/2026-08-10.log --- pkgs/by-name/co/cook-cli/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/co/cook-cli/package.nix b/pkgs/by-name/co/cook-cli/package.nix index d23062ca6391..9295aa711da0 100644 --- a/pkgs/by-name/co/cook-cli/package.nix +++ b/pkgs/by-name/co/cook-cli/package.nix @@ -10,16 +10,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cook-cli"; - version = "0.32.1"; + version = "0.33.0"; src = fetchFromGitHub { owner = "cooklang"; repo = "cookcli"; rev = "v${finalAttrs.version}"; - hash = "sha256-r6h7IHYvy3/3OS+6aueHj9ONXSYJ1K7gq7pcNTqN8wY="; + hash = "sha256-8gJlXxdZJpXe/50wzN8fT/M5JscC/mIdE3a74e+S2as="; }; - cargoHash = "sha256-agUqBXhLsjS1nVRwzuiUZomhcYdiXBLU1xX9xh8zN+c="; + cargoHash = "sha256-fWD7rYPMdSJwsQ24o0cuZCqIggN+iXHAfRjx65YbXq8="; # Build without the self-updating feature buildNoDefaultFeatures = true; @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage (finalAttrs: { npmDeps = fetchNpmDeps { inherit (finalAttrs) src; - hash = "sha256-tBOBa2plgJ0dG5eDD9Yc9YS+Dh6rhBdqU6JiZUjTUY4="; + hash = "sha256-HbuCSCgEz9FZsb5DJ37twFdxsuin0k4osqb8BP6XEI0="; }; preBuild = '' From dec6da05c5f983968698a090d88943745ec8b50a Mon Sep 17 00:00:00 2001 From: pinage404 Date: Tue, 11 Aug 2026 15:17:32 +0200 Subject: [PATCH 3/3] cook-cli: try to update NPM dependencies automatically --- pkgs/by-name/co/cook-cli/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/co/cook-cli/package.nix b/pkgs/by-name/co/cook-cli/package.nix index 9295aa711da0..ffb418725d36 100644 --- a/pkgs/by-name/co/cook-cli/package.nix +++ b/pkgs/by-name/co/cook-cli/package.nix @@ -7,6 +7,7 @@ pkg-config, openssl, nodejs, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cook-cli"; @@ -47,6 +48,8 @@ rustPlatform.buildRustPackage (finalAttrs: { npm run build-js ''; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/cooklang/cookcli/releases/tag/v${finalAttrs.version}"; description = "Suite of tools to create shopping lists and maintain recipes";