Removed bitwarden-cli package and replaced it with brew formulae

This commit is contained in:
Random936
2024-09-27 22:41:46 -07:00
parent 18a88f7391
commit 7a7fe6e792
4 changed files with 5 additions and 37 deletions

View File

@@ -1,5 +1,4 @@
{ pkgs, lib, config, ... }: rec {
tpm = pkgs.callPackage ./tpm {};
evil-winrm = pkgs.callPackage ./evil-winrm {};
bitwarden-cli-bin = pkgs.callPackage ./bitwarden-cli-bin {};
}

View File

@@ -1,26 +0,0 @@
{ lib, stdenv, fetchzip }: stdenv.mkDerivation rec {
pname = "bitwarden-cli-bin";
version = "2024.8.2";
src = fetchzip {
url = "https://github.com/bitwarden/clients/releases/download/cli-v${version}/bw-macos-${version}.zip";
hash = "sha256-obJVIJ2n5lEXsjn7RQ+lIraHnBcn4vsU6LaAV4NPBSU=";
};
doCheck = true;
dontStrip = true;
installPhase = ''
mkdir -p $out/bin
cp -rv $src/bw $out/bin/bw
'';
meta = with lib; {
description = "Secure and free password manager for all of your devices";
homepage = "https://bitwarden.com";
license = lib.licenses.gpl3Only;
mainProgram = "bw";
platforms = platforms.darwin;
};
}