nixpkgs/pkgs/tools/security/bitwarden_rs/default.nix

28 lines
755 B
Nix
Raw Normal View History

2019-04-23 21:25:46 +02:00
{ lib, rustPlatform, fetchFromGitHub, pkgconfig, openssl }:
rustPlatform.buildRustPackage rec {
pname = "bitwarden_rs";
version = "1.8.0";
src = fetchFromGitHub {
owner = "dani-garcia";
repo = pname;
rev = version;
sha256 = "0jz9r6ck6sfz4ig95x0ja6g5ikyq6z0xw1zn9zf4kxha4klqqbkx";
};
buildInputs = [ pkgconfig openssl ];
RUSTC_BOOTSTRAP = 1;
2019-04-30 21:01:36 +02:00
cargoSha256 = "02xrz7vq8nan70f07xyf335blfmdc6gaz9sbfjipsi1drgfccf09";
2019-04-23 21:25:46 +02:00
meta = with lib; {
description = "An unofficial lightweight implementation of the Bitwarden server API using Rust and SQLite";
homepage = https://github.com/dani-garcia/bitwarden_rs;
license = licenses.gpl3;
maintainers = with maintainers; [ msteen ];
platforms = platforms.all;
};
}