1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/tools/backup/chunksync/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

33 lines
728 B
Nix

{ 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];
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;
};
}