diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2024-02-05 18:52:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 18:52:55 -0500 |
commit | 7aeb86c1fab782a971d7ed2d15ff026fc2dadb42 (patch) | |
tree | 1eb3fa0ed4dfe48213364fbaedeb89a62e8eaff0 /pkgs/tools | |
parent | 4b1aab22192b787355733c9495d47f4c66af084c (diff) | |
parent | 2a9e0d51195e69c7bcdd7bbf13703ae2c27c483e (diff) | |
download | nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.tar nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.tar.gz nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.tar.bz2 nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.tar.lz nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.tar.xz nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.tar.zst nixlib-7aeb86c1fab782a971d7ed2d15ff026fc2dadb42.zip |
Merge pull request #286395 from marsam/update-rage
rage: 0.9.2 -> 0.10.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/rage/default.nix | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/tools/security/rage/default.nix b/pkgs/tools/security/rage/default.nix deleted file mode 100644 index 44b67e96a1e0..000000000000 --- a/pkgs/tools/security/rage/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -, installShellFiles -, Foundation -}: - -rustPlatform.buildRustPackage rec { - pname = "rage"; - version = "0.9.2"; - - src = fetchFromGitHub { - owner = "str4d"; - repo = pname; - rev = "v${version}"; - hash = "sha256-hFuuwmwe0ti4Y8mSJyNqUIhZjFC6qtv6W5cwtNjPUFQ="; - }; - - cargoHash = "sha256-1gtLWU6uiWzUfYy9y3pb2vcnUC3H+Mf9rglmqNd989M="; - - nativeBuildInputs = [ - installShellFiles - ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - Foundation - ]; - - # cargo test has an x86-only dependency - doCheck = stdenv.hostPlatform.isx86; - - postBuild = '' - cargo run --example generate-docs - cargo run --example generate-completions - ''; - - postInstall = '' - installManPage target/manpages/* - installShellCompletion target/completions/*.{bash,fish,zsh} - ''; - - meta = with 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"; - changelog = "https://github.com/str4d/rage/raw/v${version}/rage/CHANGELOG.md"; - license = with licenses; [ asl20 mit ]; # either at your option - maintainers = with maintainers; [ marsam ryantm ]; - mainProgram = "rage"; - }; -} |