about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-07-25 16:24:11 -0600
committerGitHub <noreply@github.com>2023-07-25 16:24:11 -0600
commitec3f64a0c767a4b44135cfc2d3457bd3af165360 (patch)
tree338733e14242cca99e8d87538a3d534249f9a603 /pkgs/tools
parent3f90e643b7090fbf0e1731965d13cd70b3f476d0 (diff)
parent3fbcc9f0c20be9af12282fe049e0ed7028f99cd6 (diff)
Merge pull request #245423 from dotlambda/bitwarden-cli-2023.7.0
bitwarden-cli: 2023.5.0 -> 2023.7.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/security/bitwarden/cli.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/tools/security/bitwarden/cli.nix b/pkgs/tools/security/bitwarden/cli.nix
index 715811046d7a5..446dc89bd8b78 100644
--- a/pkgs/tools/security/bitwarden/cli.nix
+++ b/pkgs/tools/security/bitwarden/cli.nix
@@ -5,22 +5,23 @@
 , fetchFromGitHub
 , python3
 , darwin
+, nixosTests
 }:
 
 let
   buildNpmPackage' = buildNpmPackage.override { nodejs = nodejs_18; };
 in buildNpmPackage' rec {
   pname = "bitwarden-cli";
-  version = "2023.5.0";
+  version = "2023.7.0";
 
   src = fetchFromGitHub {
     owner = "bitwarden";
     repo = "clients";
     rev = "cli-v${version}";
-    hash = "sha256-ELKpGSY4ZbgSk4vJnTiB+IOa8RQU8Ahy3A1mYsKtthU=";
+    hash = "sha256-Xnfjp+qRJWvxvgSODbajLxYsP2DtOYK9CXBMfIn+qwA=";
   };
 
-  npmDepsHash = "sha256-G8DEYPjEP3L4s0pr5n2ZTj8kkT0E7Po1BKhZ2hUdJuY=";
+  npmDepsHash = "sha256-vz7erDhh3BpHNadPwIXkD2PRCnbxM7e7lE0rvBEXGyc=";
 
   nativeBuildInputs = [
     python3
@@ -36,6 +37,10 @@ in buildNpmPackage' rec {
 
   npmWorkspace = "apps/cli";
 
+  passthru.tests = {
+    vaultwarden = nixosTests.vaultwarden.sqlite;
+  };
+
   meta = with lib; {
     changelog = "https://github.com/bitwarden/clients/releases/tag/${src.rev}";
     description = "A secure and free password manager for all of your devices";