bitwarden_rs: init at 1.8.0

This commit is contained in:
Matthijs Steen
2019-04-23 21:25:46 +02:00
parent ce14f9a9be
commit 8a0a9710b0
3 changed files with 56 additions and 0 deletions
@@ -0,0 +1,25 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "bitwarden_rs-vault";
version = "2.9.0";
src = fetchurl {
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
sha256 = "0kh7nqd688ilw73n4pw3s6fahghwbhiql548js6cdwsp4car3vbb";
};
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 ];
};
}