nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09 28 lines 711 B view raw
1{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }: 2 3stdenv.mkDerivation rec { 4 name = "librsync-${version}"; 5 version = "2.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "librsync"; 9 repo = "librsync"; 10 rev = "v${version}"; 11 sha256 = "0yad7nkw6d8j824qkxrj008ak2wq6yw5p894sbhr35yc1wr5mki6"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 buildInputs = [ perl zlib bzip2 popt ]; 16 17 crossAttrs = { 18 dontStrip = true; 19 }; 20 21 meta = with stdenv.lib; { 22 homepage = http://librsync.sourceforge.net/; 23 license = licenses.lgpl2Plus; 24 description = "Implementation of the rsync remote-delta algorithm"; 25 platforms = platforms.unix; 26 maintainers = with maintainers; [ wkennington ]; 27 }; 28}