From 29e16c62eb8bee4afc05146638f3aa1a94028dac Mon Sep 17 00:00:00 2001 From: Moritz Heidkamp Date: Mon, 30 Dec 2013 14:21:52 +0100 Subject: Add chunksync package --- pkgs/tools/backup/chunksync/default.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/tools/backup/chunksync/default.nix (limited to 'pkgs/tools/backup/chunksync') diff --git a/pkgs/tools/backup/chunksync/default.nix b/pkgs/tools/backup/chunksync/default.nix new file mode 100644 index 00000000000..2ef4aa4ff1f --- /dev/null +++ b/pkgs/tools/backup/chunksync/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, openssl, perl }: + +stdenv.mkDerivation rec { + version = "0.3"; + name = "chunksync-${version}"; + + src = fetchurl { + url = "http://chunksync.florz.de/chunksync_${version}.tar.gz"; + sha256 = "e0c27f925c5cf811798466312a56772864b633728c433fb2fcce23c8712b52fc"; + }; + + buildInputs = [openssl perl]; + + 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"; + homepage = "http://chunksync.florz.de/"; + license = "GPLv2"; + platforms = with stdenv.lib.platforms; linux; + }; +} -- cgit 1.4.1