2021-09-23 15:35:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, zlib, openssl, protobuf, protobufc, lzo, libunwind }:
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "zbackup";
|
|
|
|
version = "1.4.4";
|
2021-09-23 15:35:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zbackup";
|
|
|
|
repo = "zbackup";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-9Fk4EhEeQ2J4Kirc7oad4CzmW70Mmza6uozd87qfgZI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-09-23 15:35:13 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ zlib openssl protobuf lzo libunwind ];
|
|
|
|
nativeBuildInputs = [ cmake protobufc ];
|
2021-09-23 15:35:13 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "A versatile deduplicating backup tool";
|
|
|
|
homepage = "http://zbackup.org/";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|