Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchzip,
|
|
wxGTK32,
|
|
zlib,
|
|
zstd,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "urbackup-client";
|
|
version = "2.5.25";
|
|
|
|
src = fetchzip {
|
|
url = "https://hndl.urbackup.org/Client/${version}/urbackup-client-${version}.tar.gz";
|
|
sha256 = "sha256-+xm2mBcTLMvrstCq2sLgJiU3zbFCassKvln3SMmRH9s=";
|
|
};
|
|
|
|
postPatch = ''
|
|
find | fgrep crc.cpp
|
|
# Fix gcc-13 build failures due to missing includes
|
|
sed -e '1i #include <cstdint>' -i \
|
|
blockalign_src/crc.cpp
|
|
'';
|
|
|
|
buildInputs = [
|
|
wxGTK32
|
|
zlib
|
|
zstd
|
|
];
|
|
|
|
configureFlags = [
|
|
"--enable-embedded-cryptopp"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Easy to setup Open Source client/server backup system";
|
|
longDescription = "An easy to setup Open Source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time";
|
|
homepage = "https://www.urbackup.org/index.html";
|
|
license = licenses.agpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.mgttlinger ];
|
|
};
|
|
}
|