nixpkgs-suyu/pkgs/tools/security/bitwarden_rs/vault.nix
2019-07-30 14:37:37 -07:00

25 lines
703 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "bitwarden_rs-vault";
version = "2.11.0";
src = fetchurl {
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
sha256 = "06f0rcpqhz5qjm01jbxx2czhnj9ng29rgsrilm5r5xx31s9dnhg7";
};
buildCommand = ''
mkdir -p $out/share/bitwarden_rs/vault
cd $out/share/bitwarden_rs/vault
tar xf $src
'';
meta = with stdenv.lib; {
description = "Integrates the web vault into bitwarden_rs";
homepage = https://github.com/dani-garcia/bw_web_builds;
platforms = platforms.all;
license = licenses.gpl3;
maintainers = with maintainers; [ msteen ];
};
}