nixpkgs/pkgs/tools/security/bitwarden_rs/vault.nix
R. RyanTM d2d4383b28 bitwarden_rs-vault: 2.9.0 -> 2.10.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bitwarden_rs-vault/versions
2019-05-04 19:23:10 -07:00

26 lines
703 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "bitwarden_rs-vault";
version = "2.10.0";
src = fetchurl {
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
sha256 = "0i0hdh8sxqfyhdv4h696cf595bmkg47bww4ixlvy51h6i14v5pn7";
};
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 ];
};
}