Skip to content

Commit

Permalink
Merge pull request #77974 from marsam/init-rage
Browse files Browse the repository at this point in the history
rage: init at 0.2.0
  • Loading branch information
mmahut committed Jan 18, 2020
2 parents 5d1fda3 + 2d0a680 commit d5f9a98
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/tools/security/rage/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2946,6 +2946,10 @@ in

mcrcon = callPackage ../tools/networking/mcrcon {};

rage = callPackage ../tools/security/rage {
inherit (darwin.apple_sdk.frameworks) Security;
};

s-tar = callPackage ../tools/archivers/s-tar {};

sonota = callPackage ../tools/misc/sonota { };
Expand Down

0 comments on commit d5f9a98

Please sign in to comment.