Merge pull request #1433 from DerGuteMoritz/chunksync
Add chunksync package
This commit is contained in:
commit
c9c52ee4f4
30
pkgs/tools/backup/chunksync/default.nix
Normal file
30
pkgs/tools/backup/chunksync/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -660,6 +660,8 @@ let
|
|||||||
|
|
||||||
chrony = callPackage ../tools/networking/chrony { };
|
chrony = callPackage ../tools/networking/chrony { };
|
||||||
|
|
||||||
|
chunksync = callPackage ../tools/backup/chunksync { };
|
||||||
|
|
||||||
cjdns = callPackage ../tools/networking/cjdns { };
|
cjdns = callPackage ../tools/networking/cjdns { };
|
||||||
|
|
||||||
cksfv = callPackage ../tools/networking/cksfv { };
|
cksfv = callPackage ../tools/networking/cksfv { };
|
||||||
|
Loading…
Reference in New Issue
Block a user