From 0ba32dbe8426b11ae026d2d7a8783f7193b2f0ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 22 Aug 2024 14:34:05 -0700 Subject: [PATCH] bitwarden-cli: 2024.7.2 -> 2024.8.0 Diff: https://github.com/bitwarden/clients/compare/cli-v2024.7.2...cli-v2024.8.0 Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.8.0 --- pkgs/by-name/bi/bitwarden-cli/package.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/bi/bitwarden-cli/package.nix b/pkgs/by-name/bi/bitwarden-cli/package.nix index 654fa709a9b1..7ec901fbc648 100644 --- a/pkgs/by-name/bi/bitwarden-cli/package.nix +++ b/pkgs/by-name/bi/bitwarden-cli/package.nix @@ -11,21 +11,26 @@ buildNpmPackage rec { pname = "bitwarden-cli"; - version = "2024.7.2"; + version = "2024.8.0"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; rev = "cli-v${version}"; - hash = "sha256-MqIznJe5GeRTJ+sgOJoTHAQaac0obuBDb63XxQeG1iY="; + hash = "sha256-vosEc8HCMHEaaQadzA+jDjQA1liEtD8sS1Zndz/Iv00="; }; + postPatch = '' + # remove code under unfree license + rm -r bitwarden_license + ''; + nodejs = nodejs_20; - npmDepsHash = "sha256-XDN92VPKTA9KeSg5CQXxhXyEARZBwpERZ3400xqwg7U="; + npmDepsHash = "sha256-5neEpU7ZhVO5OR181owsvAnFfl7lr0MymvqbRFCPs3M="; nativeBuildInputs = [ - (python3.withPackages (ps: with ps; [ setuptools ])) + python3 ] ++ lib.optionals stdenv.isDarwin [ cctools xcbuild.xcrun