nixpkgs/pkgs/development/libraries/librsync/default.nix
R. RyanTM 5515661c4e librsync: 2.0.2 -> 2.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/librsync/versions
2019-09-27 09:24:14 -07:00

26 lines
663 B
Nix

{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
stdenv.mkDerivation rec {
pname = "librsync";
version = "2.1.0";
src = fetchFromGitHub {
owner = "librsync";
repo = "librsync";
rev = "v${version}";
sha256 = "03ncx7a2zd93b3jaq7b62nwn8qcwmf04jfvljnpxj5wsxl2agkp7";
};
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;
};
}