Merge pull request #245423 from dotlambda/bitwarden-cli-2023.7.0

bitwarden-cli: 2023.5.0 -> 2023.7.0

authored by Nick Cao and committed by GitHub ec3f64a0 3f90e643

+8 -3
+8 -3
pkgs/tools/security/bitwarden/cli.nix
··· 5 , fetchFromGitHub 6 , python3 7 , darwin 8 }: 9 10 let 11 buildNpmPackage' = buildNpmPackage.override { nodejs = nodejs_18; }; 12 in buildNpmPackage' rec { 13 pname = "bitwarden-cli"; 14 - version = "2023.5.0"; 15 16 src = fetchFromGitHub { 17 owner = "bitwarden"; 18 repo = "clients"; 19 rev = "cli-v${version}"; 20 - hash = "sha256-ELKpGSY4ZbgSk4vJnTiB+IOa8RQU8Ahy3A1mYsKtthU="; 21 }; 22 23 - npmDepsHash = "sha256-G8DEYPjEP3L4s0pr5n2ZTj8kkT0E7Po1BKhZ2hUdJuY="; 24 25 nativeBuildInputs = [ 26 python3 ··· 35 npmBuildScript = "build:prod"; 36 37 npmWorkspace = "apps/cli"; 38 39 meta = with lib; { 40 changelog = "https://github.com/bitwarden/clients/releases/tag/${src.rev}";
··· 5 , fetchFromGitHub 6 , python3 7 , darwin 8 + , nixosTests 9 }: 10 11 let 12 buildNpmPackage' = buildNpmPackage.override { nodejs = nodejs_18; }; 13 in buildNpmPackage' rec { 14 pname = "bitwarden-cli"; 15 + version = "2023.7.0"; 16 17 src = fetchFromGitHub { 18 owner = "bitwarden"; 19 repo = "clients"; 20 rev = "cli-v${version}"; 21 + hash = "sha256-Xnfjp+qRJWvxvgSODbajLxYsP2DtOYK9CXBMfIn+qwA="; 22 }; 23 24 + npmDepsHash = "sha256-vz7erDhh3BpHNadPwIXkD2PRCnbxM7e7lE0rvBEXGyc="; 25 26 nativeBuildInputs = [ 27 python3 ··· 36 npmBuildScript = "build:prod"; 37 38 npmWorkspace = "apps/cli"; 39 + 40 + passthru.tests = { 41 + vaultwarden = nixosTests.vaultwarden.sqlite; 42 + }; 43 44 meta = with lib; { 45 changelog = "https://github.com/bitwarden/clients/releases/tag/${src.rev}";