2013-12-30 14:21:52 +01:00
|
|
|
{ stdenv, fetchurl, openssl, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-14 09:42:16 +01:00
|
|
|
version = "0.4";
|
2013-12-30 14:21:52 +01:00
|
|
|
name = "chunksync-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://chunksync.florz.de/chunksync_${version}.tar.gz";
|
2018-03-14 09:42:16 +01:00
|
|
|
sha256 = "1gwqp1kjwhcmwhynilakhzpzgc0c6kk8c9vkpi30gwwrwpz3cf00";
|
2013-12-30 14:21:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [openssl perl];
|
|
|
|
|
2014-01-02 17:37:51 +01:00
|
|
|
NIX_LDFLAGS = "-lgcc_s";
|
|
|
|
|
2013-12-30 14:21:52 +01:00
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=$(out)"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Space-efficient incremental backups of large files or block devices";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://chunksync.florz.de/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-12-30 14:21:52 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|