Merge pull request #286395 from marsam/update-rage

rage: 0.9.2 -> 0.10.0

authored by Mario Rodas and committed by GitHub 7aeb86c1 4b1aab22

+11 -17
+11 -13
pkgs/tools/security/rage/default.nix pkgs/by-name/ra/rage/package.nix
··· 3 3 , rustPlatform 4 4 , fetchFromGitHub 5 5 , installShellFiles 6 - , Foundation 6 + , darwin 7 7 }: 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "rage"; 11 - version = "0.9.2"; 11 + version = "0.10.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "str4d"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-hFuuwmwe0ti4Y8mSJyNqUIhZjFC6qtv6W5cwtNjPUFQ="; 17 + hash = "sha256-7PfNDFDuvQ9T3BeA15FuY1jAprGLsyglWXcNrZvtPAE="; 18 18 }; 19 19 20 - cargoHash = "sha256-1gtLWU6uiWzUfYy9y3pb2vcnUC3H+Mf9rglmqNd989M="; 20 + cargoHash = "sha256-5aLT0JfeFj0fZP/1sHXulCQtoquHYriapMdPtN+fxko="; 21 21 22 22 nativeBuildInputs = [ 23 23 installShellFiles 24 24 ]; 25 25 26 26 buildInputs = lib.optionals stdenv.isDarwin [ 27 - Foundation 27 + darwin.apple_sdk.frameworks.Foundation 28 28 ]; 29 29 30 30 # cargo test has an x86-only dependency 31 31 doCheck = stdenv.hostPlatform.isx86; 32 32 33 - postBuild = '' 34 - cargo run --example generate-docs 35 - cargo run --example generate-completions 36 - ''; 37 - 38 33 postInstall = '' 39 - installManPage target/manpages/* 40 - installShellCompletion target/completions/*.{bash,fish,zsh} 34 + installManPage target/*/release/manpages/man1/* 35 + installShellCompletion \ 36 + --bash target/*/release/completions/*.bash \ 37 + --fish target/*/release/completions/*.fish \ 38 + --zsh target/*/release/completions/_* 41 39 ''; 42 40 43 41 meta = with lib; { 44 42 description = "A simple, secure and modern encryption tool with small explicit keys, no config options, and UNIX-style composability"; 45 43 homepage = "https://github.com/str4d/rage"; 46 - changelog = "https://github.com/str4d/rage/raw/v${version}/rage/CHANGELOG.md"; 44 + changelog = "https://github.com/str4d/rage/blob/v${version}/rage/CHANGELOG.md"; 47 45 license = with licenses; [ asl20 mit ]; # either at your option 48 46 maintainers = with maintainers; [ marsam ryantm ]; 49 47 mainProgram = "rage";
-4
pkgs/top-level/all-packages.nix
··· 7750 7750 inherit (pkgs.darwin.apple_sdk.libs) utmp; 7751 7751 }; 7752 7752 7753 - rage = callPackage ../tools/security/rage { 7754 - inherit (darwin.apple_sdk.frameworks) Foundation; 7755 - }; 7756 - 7757 7753 rar2fs = callPackage ../tools/filesystems/rar2fs { }; 7758 7754 7759 7755 rocmPackages = rocmPackages_5;