nixpkgs/pkgs/development/libraries/librsync/default.nix
2018-01-28 18:52:30 +01:00

29 lines
711 B
Nix

{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
stdenv.mkDerivation rec {
name = "librsync-${version}";
version = "2.0.1";
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
sha256 = "0wihjinqbjl4hnvrgsk4ca1zy5v6bj7vjm6wlygwvgbn5yh3yq0x";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ perl zlib bzip2 popt ];
crossAttrs = {
dontStrip = true;
};
meta = with stdenv.lib; {
homepage = http://librsync.sourceforge.net/;
license = licenses.lgpl2Plus;
description = "Implementation of the rsync remote-delta algorithm";
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}