mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
32fb640237
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
26 lines
663 B
Nix
26 lines
663 B
Nix
{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librsync";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "librsync";
|
|
repo = "librsync";
|
|
rev = "v${version}";
|
|
sha256 = "08wdlxsa9zg2pyasz1lwg70d5psi4amv81v4yxwffx67ndzb9yp5";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|