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