nixpkgs/pkgs/tools/backup/chunksync/default.nix
Ryan Mulligan a73c91c99c chunksync: 0.3 -> 0.4
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/bgpzi08y1w7zgv0iaisdd974mdy6pdpl-chunksync-0.4/bin/chunksync -h` got 0 exit code
- ran `/nix/store/bgpzi08y1w7zgv0iaisdd974mdy6pdpl-chunksync-0.4/bin/chunksync -V` and found version 0.4
- ran `/nix/store/bgpzi08y1w7zgv0iaisdd974mdy6pdpl-chunksync-0.4/bin/chunksync -h` and found version 0.4
- found 0.4 with grep in /nix/store/bgpzi08y1w7zgv0iaisdd974mdy6pdpl-chunksync-0.4
- found 0.4 in filename of file in /nix/store/bgpzi08y1w7zgv0iaisdd974mdy6pdpl-chunksync-0.4
2018-03-14 01:42:16 -07:00

32 lines
716 B
Nix

{ stdenv, fetchurl, openssl, perl }:
stdenv.mkDerivation rec {
version = "0.4";
name = "chunksync-${version}";
src = fetchurl {
url = "http://chunksync.florz.de/chunksync_${version}.tar.gz";
sha256 = "1gwqp1kjwhcmwhynilakhzpzgc0c6kk8c9vkpi30gwwrwpz3cf00";
};
buildInputs = [openssl perl];
NIX_LDFLAGS = "-lgcc_s";
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 = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; linux;
};
}