zbackup: drop
The upstream section has not been maintained for nearly 10 years.
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
protobufc,
|
||||
libunwind,
|
||||
lzo,
|
||||
openssl,
|
||||
protobuf,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zbackup";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zbackup";
|
||||
repo = "zbackup";
|
||||
rev = version;
|
||||
hash = "sha256-9Fk4EhEeQ2J4Kirc7oad4CzmW70Mmza6uozd87qfgZI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# compare with https://github.com/zbackup/zbackup/pull/158;
|
||||
# but that doesn't apply cleanly to this version
|
||||
./protobuf-api-change.patch
|
||||
];
|
||||
|
||||
# zbackup uses dynamic exception specifications which are not
|
||||
# allowed in C++17
|
||||
env.NIX_CFLAGS_COMPILE = toString [ "--std=c++14" ];
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
openssl
|
||||
protobuf
|
||||
lzo
|
||||
libunwind
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
protobufc
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Versatile deduplicating backup tool";
|
||||
mainProgram = "zbackup";
|
||||
homepage = "http://zbackup.org/";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/backup_restorer.cc
|
||||
+++ b/backup_restorer.cc
|
||||
@@ -48,7 +48,7 @@
|
||||
// TODO: this disables size checks for each separate message. Figure a better
|
||||
// way to do this while keeping them enabled. It seems we need to create an
|
||||
// instance of CodedInputStream for each message, but it might be expensive
|
||||
- cis.SetTotalBytesLimit( backupData.size(), -1 );
|
||||
+ cis.SetTotalBytesLimit( backupData.size() );
|
||||
|
||||
// Used when emitting chunks
|
||||
string chunk;
|
||||
@@ -2260,6 +2260,7 @@ mapAliases {
|
||||
z3_4_8 = throw "'z3_4_8' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
|
||||
zabbix50 = throw "'zabbix50' has been removed, it would have reached its End of Life a few days after the release of NixOS 25.05. Consider upgrading to 'zabbix60' or 'zabbix70'.";
|
||||
zabbix64 = throw "'zabbix64' has been removed because it reached its End of Life. Consider upgrading to 'zabbix70'.";
|
||||
zbackup = throw "'zbackup' has been removed due to being unmaintained upstream"; # Added 2025-08-22
|
||||
zeroadPackages = recurseIntoAttrs {
|
||||
zeroad = lib.warnOnInstantiate "'zeroadPackages.zeroad' has been renamed to 'zeroad'" zeroad; # Added 2025-03-22
|
||||
zeroad-data = lib.warnOnInstantiate "'zeroadPackages.zeroad-data' has been renamed to 'zeroad-data'" zeroad-data; # Added 2025-03-22
|
||||
|
||||
@@ -4617,10 +4617,6 @@ with pkgs;
|
||||
# To expose more packages for Yi, override the extraPackages arg.
|
||||
yi = callPackage ../applications/editors/yi/wrapper.nix { };
|
||||
|
||||
zbackup = callPackage ../tools/backup/zbackup {
|
||||
protobuf = protobuf_21;
|
||||
};
|
||||
|
||||
zbar = libsForQt5.callPackage ../tools/graphics/zbar { };
|
||||
|
||||
# Nvidia support does not require any proprietary libraries, so CI can build it.
|
||||
|
||||
Reference in New Issue
Block a user