8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
718 B
Nix
26 lines
718 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bitwarden_rs-vault";
|
|
version = "2.13.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
|
|
sha256 = "1000iqjr670imm1dlw9r003d8psp5sq0m0p62sjnll7wnycd805r";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p $out/share/bitwarden_rs/
|
|
cd $out/share/bitwarden_rs/
|
|
tar xf $src
|
|
mv web-vault vault
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|