1{ stdenv, fetchurl, cmake, zlib, openssl, protobuf, protobufc, lzo, libunwind } :
2stdenv.mkDerivation rec {
3 name = "zbackup-${version}";
4 version = "1.4.4";
5 src = fetchurl {
6 url = "https://github.com/zbackup/zbackup/archive/1.4.4.tar.gz";
7 sha256 = "11csla7n44lg7x6yqg9frb21vnkr8cvnh6ardibr3nj5l39crk7g";
8 };
9 buildInputs = [ zlib openssl protobuf lzo libunwind ];
10 nativeBuildInputs = [ cmake protobufc ];
11 meta = {
12 description = "A versatile deduplicating backup tool";
13 homepage = "http://zbackup.org/";
14 platforms = stdenv.lib.platforms.linux;
15 license = stdenv.lib.licenses.gpl2Plus;
16 };
17}