Removed bitwarden-cli package and replaced it with brew formulae
This commit is contained in:
@@ -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 {};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user