-
-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77974 from marsam/init-rage
rage: init at 0.2.0
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters