3ddcd4144b
bitwarden_rs-vault: 2.16.1 -> 2.17.1
29 lines
770 B
Nix
29 lines
770 B
Nix
{ lib, stdenv, fetchurl, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bitwarden_rs-vault";
|
|
version = "2.17.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
|
|
sha256 = "1kd21higniszk1na5ag7q4g0l7h6ddl91gpbjbwym28hsbjvxla7";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p $out/share/bitwarden_rs/
|
|
cd $out/share/bitwarden_rs/
|
|
tar xf $src
|
|
mv web-vault vault
|
|
'';
|
|
|
|
passthru.tests = nixosTests.bitwarden;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|