mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 00:34:00 +00:00
rustic: 0.7.0 -> 0.7.0-unstable-2024-08-10
This commit is contained in:
parent
9fe8fdc039
commit
8d6e39e49d
5170
pkgs/by-name/ru/rustic/Cargo.lock
generated
Normal file
5170
pkgs/by-name/ru/rustic/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,36 +1,51 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, installShellFiles
|
||||
, nix-update-script
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
Security,
|
||||
SystemConfiguration,
|
||||
installShellFiles,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rustic";
|
||||
version = "0.7.0";
|
||||
version = "0.7.0-unstable-2024-08-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rustic-rs";
|
||||
repo = "rustic";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-jUAmboJTzX4oJZy9rFiPRbm94bVpZGa0SaqotoCU/Ss=";
|
||||
# rev = "refs/tags/v${version}";
|
||||
rev = "1c9969c";
|
||||
hash = "sha256-+YVF59xHb82TOn7Gl0BbX2Yx6Owsp0LiOBgEXHN9QVI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-8YGvxnwD9Vshah2jZ+XxOW0qB4nvWsOyLY1W8k+xQzU=";
|
||||
# With the next release please go back to `cargoHash` and remove the vendored
|
||||
# `Cargo.lock` if possible.
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"rustic_backend-0.1.1" = "sha256-6VC0DKqV9NPzwKs6SOI3dQMKrGZd2azUBMbU9dejHKs=";
|
||||
};
|
||||
};
|
||||
|
||||
# At the time of writing, upstream defaults to "self-update" and "webdav".
|
||||
# At the time of writing, upstream defaults to "self-update", "tui", and "webdav".
|
||||
# "self-update" is a self-updater, which we don't want in nixpkgs.
|
||||
# With each update we should therefore ensure that we mimic the default features
|
||||
# as closely as possible.
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [
|
||||
"tui"
|
||||
"webdav"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
SystemConfiguration
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
for shell in {ba,fi,z}sh; do
|
||||
@ -48,7 +63,10 @@ rustPlatform.buildRustPackage rec {
|
||||
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 ];
|
||||
license = [
|
||||
lib.licenses.mit
|
||||
lib.licenses.asl20
|
||||
];
|
||||
maintainers = [ lib.maintainers.nobbz ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user