rustic-rs: 0.3.2 -> 0.4.0

This commit is contained in:
Norbert Melzer 2022-11-23 16:06:11 +01:00
parent 6fe448ff98
commit 12cadc9f11
2 changed files with 7 additions and 6 deletions

View file

@ -1,21 +1,21 @@
{ lib, fetchFromGitHub, rustPlatform, stdenv, darwin, installShellFiles }:
{ lib, fetchFromGitHub, rustPlatform, stdenv, Security, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "rustic-rs";
version = "0.3.2";
version = "0.4.0";
src = fetchFromGitHub {
owner = "rustic-rs";
repo = "rustic";
rev = "v${version}";
hash = "sha256-MGFtJUfPK6IH3w8xe/RZaXS+QDIVS3jFSnf4VYiSLM4=";
hash = "sha256-IyGSyyWhwxrevxWbnlfLVK0+Y1ZoKx2Dg1SRydG3nuo=";
};
cargoHash = "sha256-siJrqL7HjUQvcyXpUN5rQWNeQNBc+693N1xTSvlOixI=";
cargoHash = "sha256-AE6z8/RO18FppLwsuz38JF/asI9dOLYmAErj1jzM3JA=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.Security ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
postInstall = ''
for shell in {ba,fi,z}sh; do
@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/rustic-rs/rustic";
changelog = "https://github.com/rustic-rs/rustic/blob/${src.rev}/changelog/${version}.txt";
description = "fast, encrypted, deduplicated backups powered by pure Rust";
mainProgram = "rustic";
platforms = lib.platforms.linux ++ lib.platforms.darwin;
license = [ lib.licenses.mit lib.licenses.asl20 ];
maintainers = [ lib.maintainers.nobbz ];

View file

@ -24470,7 +24470,7 @@ with pkgs;
roon-server = callPackage ../servers/roon-server { };
rustic-rs = callPackage ../tools/backup/rustic-rs { };
rustic-rs = callPackage ../tools/backup/rustic-rs { inherit (darwin) Security; };
supervise = callPackage ../tools/system/supervise { };