1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/librsync/default.nix
2020-05-27 13:33:24 -07:00

26 lines
665 B
Nix

{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
stdenv.mkDerivation rec {
pname = "librsync";
version = "2.3.1";
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
sha256 = "131cd4asmpm4nskidzgiy8xibbnpibvvbq857a0pcky77min5g4z";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ perl zlib bzip2 popt ];
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
meta = with stdenv.lib; {
homepage = "http://librsync.sourceforge.net/";
license = licenses.lgpl2Plus;
description = "Implementation of the rsync remote-delta algorithm";
platforms = platforms.unix;
};
}