1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/security/bitwarden_rs/vault.nix

26 lines
706 B
Nix
Raw Normal View History

2019-04-23 20:25:46 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "bitwarden_rs-vault";
2020-02-19 12:26:48 +00:00
version = "2.12.0c";
2019-04-23 20:25:46 +01:00
src = fetchurl {
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz";
2020-02-19 12:26:48 +00:00
sha256 = "040bqbx6hpwq4qvv4s7d77gwp5n2ay9rr7kdb135582d80wjq5sp";
2019-04-23 20:25:46 +01:00
};
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";
2020-02-19 12:26:48 +00:00
homepage = "https://github.com/dani-garcia/bw_web_builds";
2019-04-23 20:25:46 +01:00
platforms = platforms.all;
license = licenses.gpl3;
maintainers = with maintainers; [ msteen ];
};
}