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

26 lines
665 B
Nix
Raw Normal View History

2017-06-26 01:46:06 +00:00
{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
2015-03-26 23:52:41 +00:00
stdenv.mkDerivation rec {
pname = "librsync";
2020-05-20 19:18:54 +00:00
version = "2.3.1";
2015-03-26 23:52:41 +00:00
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
2020-05-20 19:18:54 +00:00
sha256 = "131cd4asmpm4nskidzgiy8xibbnpibvvbq857a0pcky77min5g4z";
};
2017-06-26 01:46:06 +00:00
nativeBuildInputs = [ cmake ];
buildInputs = [ perl zlib bzip2 popt ];
2018-05-10 17:08:07 +00:00
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
2015-03-26 23:52:41 +00:00
meta = with stdenv.lib; {
2020-04-09 05:04:22 +00:00
homepage = "http://librsync.sourceforge.net/";
2015-03-26 23:52:41 +00:00
license = licenses.lgpl2Plus;
description = "Implementation of the rsync remote-delta algorithm";
2015-03-26 23:52:41 +00:00
platforms = platforms.unix;
};
}