nixpkgs/pkgs/development/libraries/librsync/default.nix

29 lines
711 B
Nix
Raw Normal View History

2017-06-26 04:46:06 +03:00
{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
2015-03-27 02:52:41 +03:00
stdenv.mkDerivation rec {
name = "librsync-${version}";
2018-01-28 18:11:19 +03:00
version = "2.0.1";
2015-03-27 02:52:41 +03:00
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
2018-01-28 18:11:19 +03:00
sha256 = "0wihjinqbjl4hnvrgsk4ca1zy5v6bj7vjm6wlygwvgbn5yh3yq0x";
};
2017-06-26 04:46:06 +03:00
nativeBuildInputs = [ cmake ];
buildInputs = [ perl zlib bzip2 popt ];
crossAttrs = {
dontStrip = true;
};
2015-03-27 02:52:41 +03:00
meta = with stdenv.lib; {
homepage = http://librsync.sourceforge.net/;
2015-03-27 02:52:41 +03:00
license = licenses.lgpl2Plus;
description = "Implementation of the rsync remote-delta algorithm";
2015-03-27 02:52:41 +03:00
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}