about summary refs log tree commit diff
path: root/pkgs/tools/security/ripasso
diff options
context:
space:
mode:
authorStig Palmquist <stig@stig.io>2019-08-24 16:41:00 +0200
committerStig Palmquist <stig@stig.io>2019-08-28 11:56:04 +0200
commit2d36aa63fdf5ca1dcd7b0ba36ea59c59a8864b03 (patch)
tree296e63cdb0bfe4274f8c2469654fb7b4d3333c3f /pkgs/tools/security/ripasso
parent441f10cdaf89eaac92d1b991185e324e4dd6eb1e (diff)
ripasso-cursive: init unstable at 2019-08-27
Diffstat (limited to 'pkgs/tools/security/ripasso')
-rw-r--r--pkgs/tools/security/ripasso/cursive.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/security/ripasso/cursive.nix b/pkgs/tools/security/ripasso/cursive.nix
new file mode 100644
index 0000000000000..9eac6b6e5ca40
--- /dev/null
+++ b/pkgs/tools/security/ripasso/cursive.nix
@@ -0,0 +1,30 @@
+{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, ncurses, python3, openssl, libgpgerror, gpgme, xorg }:
+
+with rustPlatform;
+buildRustPackage rec {
+  version = "unstable-2019-08-27";
+  pname = "ripasso-cursive";
+
+  src = fetchFromGitHub {
+    owner = "cortex";
+    repo = "ripasso";
+    rev  = "1b5ef4ae19f95f1422ba5cb09e9e689880599c40";
+    sha256 = "1lh1in8knpqz4vbsmdyd4hh8y4bfhxjciysfbq3qzdpdpihgj0nn";
+  };
+
+  cargoSha256 = "0dwaa106vj7jbgshhqpjabsr0zmkg1a5syzky7jcaasvc7r7njwl";
+  cargoBuildFlags = [ "-p ripasso-cursive" ];
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [
+    ncurses python3 openssl libgpgerror gpgme xorg.libxcb
+  ];
+
+  meta = with stdenv.lib; {
+    description = "A simple password manager written in Rust";
+    homepage = "https://github.com/cortex/ripasso";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ sgo ];
+    platforms = platforms.linux;
+  };
+}