25 lines
704 B
Nix
25 lines
704 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bitwarden_rs-vault";
|
|
version = "2.12.0b";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
|
|
sha256 = "01jwyhcam9kh8lpxfgzzw7r3nn9sn6jbgmd78a7h8r50z5hy04g5";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|