13 pname = "bitwarden-cli";
16 src = fetchFromGitHub {
19 rev = "cli-v${version}";
20 hash = "sha256-LKeJKA4/Vd80y48RdZTUh10bY38AoQ5G5oK6S77fSJI=";
25 npmDepsHash = "sha256-rwzyKaCW3LAOqw6BEu8DLS0Ad5hB6cH1OnjWzbSEgVI=";
29 ] ++ lib.optionals stdenv.isDarwin [
34 makeCacheWritable = true;
36 env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
38 npmBuildScript = "build:oss:prod";
40 npmWorkspace = "apps/cli";
42 npmFlags = [ "--legacy-peer-deps" ];
45 vaultwarden = nixosTests.vaultwarden.sqlite;
49 changelog = "https://github.com/bitwarden/clients/releases/tag/${src.rev}";
50 description = "Secure and free password manager for all of your devices";
51 homepage = "https://bitwarden.com";
52 license = lib.licenses.gpl3Only;
54 maintainers = with maintainers; [ dotlambda ];