diff options
Diffstat (limited to 'pkgs/tools/security/bitwarden/cli.nix')
-rw-r--r-- | pkgs/tools/security/bitwarden/cli.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/pkgs/tools/security/bitwarden/cli.nix b/pkgs/tools/security/bitwarden/cli.nix deleted file mode 100644 index 68abb6385319..000000000000 --- a/pkgs/tools/security/bitwarden/cli.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib -, stdenv -, buildNpmPackage -, nodejs_18 -, fetchFromGitHub -, python3 -, darwin -, nixosTests -}: - -buildNpmPackage rec { - pname = "bitwarden-cli"; - version = "2024.2.0"; - - src = fetchFromGitHub { - owner = "bitwarden"; - repo = "clients"; - rev = "cli-v${version}"; - hash = "sha256-nCjcwe+7Riml/J0hAVv/t6/oHIDPhwFD5A3iQ/LNR5Y="; - }; - - nodejs = nodejs_18; - - npmDepsHash = "sha256-GJl9pVwFWEg9yku9IXLcu2XMJZz+ZoQOxCf1TrW715Y="; - - nativeBuildInputs = [ - python3 - ] ++ lib.optionals stdenv.isDarwin [ - darwin.cctools - ]; - - makeCacheWritable = true; - - env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; - - npmBuildScript = "build:prod"; - - npmWorkspace = "apps/cli"; - - npmFlags = [ "--legacy-peer-deps" ]; - - 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"; - homepage = "https://bitwarden.com"; - license = lib.licenses.gpl3Only; - mainProgram = "bw"; - maintainers = with maintainers; [ dotlambda ]; - }; -} |