summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-01-18 04:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-01-18 04:20:00 -0500
commit2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76 (patch)
tree59c5d164a618c07aa33df160c80b8f1be229bc8f /pkgs/tools/security
parent07b8ab4ff791dc8bcfeea643fd9a1fbedc534bbd (diff)
downloadnixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.tar
nixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.tar.gz
nixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.tar.bz2
nixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.tar.lz
nixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.tar.xz
nixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.tar.zst
nixpkgs-2d0a6808d7fc46a5ed4bdb1e4417247ad74a5d76.zip
rage: init at 0.2.0
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/rage/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/security/rage/default.nix b/pkgs/tools/security/rage/default.nix
new file mode 100644
index 00000000000..63cc2972a58
--- /dev/null
+++ b/pkgs/tools/security/rage/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, rustPlatform, fetchFromGitHub, Security }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "rage";
+  version = "0.2.0";
+
+  src = fetchFromGitHub {
+    owner = "str4d";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0ri4rfhy1wl0cppi2cp97kkiz08x2f072yfahn2kv9r4v1i9f4a7";
+  };
+
+  cargoSha256 = "02adwvcvha83zcvc5n7p88l7wmkg52j2xhznmhabc0zn328as2yd";
+
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+  meta = with stdenv.lib; {
+    description = "A simple, secure and modern encryption tool with small explicit keys, no config options, and UNIX-style composability";
+    homepage = "https://github.com/str4d/rage";
+    license = licenses.asl20;
+    maintainers = [ maintainers.marsam ];
+  };
+}