nixpkgs/pkgs/tools/backup/chunksync/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

33 lines
717 B
Nix

{ stdenv, fetchurl, openssl, perl }:
stdenv.mkDerivation rec {
version = "0.4";
name = "chunksync-${version}";
src = fetchurl {
url = "https://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;
};
}