From 68891c7df73f92646521056358e88ab89d77ef0e Mon Sep 17 00:00:00 2001 From: Camilo Vera Date: Sun, 5 Apr 2026 10:53:01 -0400 Subject: [PATCH 1/2] bitwarden-cli: 2026.2.0 -> 2026.3.0 --- pkgs/by-name/bi/bitwarden-cli/package.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bi/bitwarden-cli/package.nix b/pkgs/by-name/bi/bitwarden-cli/package.nix index 3551c76265cd..2ccfedc9a433 100644 --- a/pkgs/by-name/bi/bitwarden-cli/package.nix +++ b/pkgs/by-name/bi/bitwarden-cli/package.nix @@ -14,23 +14,31 @@ buildNpmPackage (finalAttrs: { pname = "bitwarden-cli"; - version = "2026.2.0"; + version = "2026.3.0"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; tag = "cli-v${finalAttrs.version}"; - hash = "sha256-BiL9ugimdDKIzIoehGqdBfJkTOjbOMl8XV+0g/aGS/k="; + hash = "sha256-ecaCHk04N9h0RP8gK0o+MLgYS6Linsqi7AaC86hwQ3U="; }; postPatch = '' # remove code under unfree license rm -r bitwarden_license + + # Upstream cli-v2026.3.0 bumps @napi-rs/cli to 3.5.1 in the desktop workspace, + # but the root lockfile still points that entry at 3.2.0. + substituteInPlace package-lock.json \ + --replace-fail \ + $' "apps/desktop/node_modules/@napi-rs/cli": {\n "version": "3.2.0",\n "resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-3.2.0.tgz",\n "integrity": "sha512-heyXt/9OBPv/WrTFW2+PxIMzH6MCeqP9ZsvOg0LN6pLngBnszcxFsdhCAh5I6sddzQsvru53zj59GUzvmpWk8Q==",' \ + $' "apps/desktop/node_modules/@napi-rs/cli": {\n "version": "3.5.1",\n "resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-3.5.1.tgz",\n "integrity": "sha512-XBfLQRDcB3qhu6bazdMJsecWW55kR85l5/k0af9BIBELXQSsCFU0fzug7PX8eQp6vVdm7W/U3z6uP5WmITB2Gw==",' ''; nodejs = nodejs_22; + npmDepsFetcherVersion = 2; - npmDepsHash = "sha256-S34Lxr9dH9wjBmpDYA530z2/HiY4D4b/3rswWDqsrFU="; + npmDepsHash = "sha256-JVRwU5MUQ8YzhCW7ODiyVqbgq7/PxgMV9dlw7i32MfI="; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ perl From 86290eecbd0a96a6373efe170593a931c8d06713 Mon Sep 17 00:00:00 2001 From: Camilo Vera Date: Sun, 5 Apr 2026 10:53:14 -0400 Subject: [PATCH 2/2] bitwarden-cli: add caverav to maintainers --- pkgs/by-name/bi/bitwarden-cli/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/bi/bitwarden-cli/package.nix b/pkgs/by-name/bi/bitwarden-cli/package.nix index 2ccfedc9a433..91f12f70f2d0 100644 --- a/pkgs/by-name/bi/bitwarden-cli/package.nix +++ b/pkgs/by-name/bi/bitwarden-cli/package.nix @@ -117,6 +117,7 @@ buildNpmPackage (finalAttrs: { maintainers = with lib.maintainers; [ xiaoxiangmoe dotlambda + caverav ]; }; })