From ea9c5bf9d873477512020a76d6effa0a9384a87b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 5 Mar 2026 13:04:21 -0800 Subject: [PATCH] bitwarden-cli: 2026.1.0 -> 2026.2.0 Diff: https://github.com/bitwarden/clients/compare/cli-v2026.1.0...cli-v2026.2.0 Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2026.2.0 --- .../bi/bitwarden-cli/fix-lockfile.patch | 56 ------------------- pkgs/by-name/bi/bitwarden-cli/package.nix | 11 +--- 2 files changed, 3 insertions(+), 64 deletions(-) delete mode 100644 pkgs/by-name/bi/bitwarden-cli/fix-lockfile.patch diff --git a/pkgs/by-name/bi/bitwarden-cli/fix-lockfile.patch b/pkgs/by-name/bi/bitwarden-cli/fix-lockfile.patch deleted file mode 100644 index 5acd9a8072a3..000000000000 --- a/pkgs/by-name/bi/bitwarden-cli/fix-lockfile.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff --git a/package-lock.json b/package-lock.json -index 32d5abebb913..fea866c148c9 100644 ---- a/package-lock.json -+++ b/package-lock.json -@@ -231,51 +231,6 @@ - "bw": "build/bw.js" - } - }, -- "apps/cli/node_modules/define-lazy-prop": { -- "version": "2.0.0", -- "license": "MIT", -- "engines": { -- "node": ">=8" -- } -- }, -- "apps/cli/node_modules/is-docker": { -- "version": "2.2.1", -- "license": "MIT", -- "bin": { -- "is-docker": "cli.js" -- }, -- "engines": { -- "node": ">=8" -- }, -- "funding": { -- "url": "https://github.com/sponsors/sindresorhus" -- } -- }, -- "apps/cli/node_modules/is-wsl": { -- "version": "2.2.0", -- "license": "MIT", -- "dependencies": { -- "is-docker": "^2.0.0" -- }, -- "engines": { -- "node": ">=8" -- } -- }, -- "apps/cli/node_modules/open": { -- "version": "8.4.2", -- "license": "MIT", -- "dependencies": { -- "define-lazy-prop": "^2.0.0", -- "is-docker": "^2.1.1", -- "is-wsl": "^2.2.0" -- }, -- "engines": { -- "node": ">=12" -- }, -- "funding": { -- "url": "https://github.com/sponsors/sindresorhus" -- } -- }, - "apps/desktop": { - "name": "@bitwarden/desktop", - "version": "2025.12.1", diff --git a/pkgs/by-name/bi/bitwarden-cli/package.nix b/pkgs/by-name/bi/bitwarden-cli/package.nix index ab80c47171d9..3551c76265cd 100644 --- a/pkgs/by-name/bi/bitwarden-cli/package.nix +++ b/pkgs/by-name/bi/bitwarden-cli/package.nix @@ -14,20 +14,15 @@ buildNpmPackage (finalAttrs: { pname = "bitwarden-cli"; - version = "2026.1.0"; + version = "2026.2.0"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; tag = "cli-v${finalAttrs.version}"; - hash = "sha256-Z6YMAzn1J5n27qqx3PsaMmD9uIK7FTEl1/tEzePD+6Y="; + hash = "sha256-BiL9ugimdDKIzIoehGqdBfJkTOjbOMl8XV+0g/aGS/k="; }; - patches = [ - # https://github.com/bitwarden/clients/pull/18308 - ./fix-lockfile.patch - ]; - postPatch = '' # remove code under unfree license rm -r bitwarden_license @@ -35,7 +30,7 @@ buildNpmPackage (finalAttrs: { nodejs = nodejs_22; - npmDepsHash = "sha256-lXESe2FwwJIiFVFI5adAgJLhMsK2DTc8V8jELMr5E84="; + npmDepsHash = "sha256-S34Lxr9dH9wjBmpDYA530z2/HiY4D4b/3rswWDqsrFU="; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ perl