3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/librsync/default.nix

26 lines
673 B
Nix
Raw Normal View History

2017-06-26 02:46:06 +01:00
{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
2015-03-26 23:52:41 +00:00
stdenv.mkDerivation rec {
name = "librsync-${version}";
version = "2.0.2";
2015-03-26 23:52:41 +00:00
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
sha256 = "1qnr4rk93mhggqjh2025clmlhhgnjhq983p1vbh8i1g8aiqdnapi";
};
2017-06-26 02:46:06 +01:00
nativeBuildInputs = [ cmake ];
buildInputs = [ perl zlib bzip2 popt ];
2018-05-10 18:08:07 +01:00
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
2015-03-26 23:52:41 +00:00
meta = with stdenv.lib; {
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;
};
}