lol

librsync: 0.9.7 -> 1.0.0

+15 -8
+15 -8
pkgs/development/libraries/librsync/default.nix
··· 1 - {stdenv, fetchurl}: 2 3 - stdenv.mkDerivation { 4 - name = "librsync-0.9.7"; 5 6 - src = fetchurl { 7 - url = mirror://sourceforge/librsync/librsync-0.9.7.tar.gz; 8 - sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6"; 9 }; 10 11 configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared"; 12 ··· 14 dontStrip = true; 15 }; 16 17 - meta = { 18 homepage = http://librsync.sourceforge.net/; 19 - license = stdenv.lib.licenses.lgpl2Plus; 20 description = "Implementation of the rsync remote-delta algorithm"; 21 }; 22 }
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, perl, zlib, bzip2, popt }: 2 3 + stdenv.mkDerivation rec { 4 + name = "librsync-${version}"; 5 + version = "1.0.0"; 6 7 + src = fetchFromGitHub { 8 + owner = "librsync"; 9 + repo = "librsync"; 10 + rev = "v${version}"; 11 + sha256 = "0rc2pksdd0mhdvk8y1yix71rf19wdx1lb2ryrkhi7vcy240rvgvc"; 12 }; 13 + 14 + buildInputs = [ autoreconfHook perl zlib bzip2 popt ]; 15 16 configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared"; 17 ··· 19 dontStrip = true; 20 }; 21 22 + meta = with stdenv.lib; { 23 homepage = http://librsync.sourceforge.net/; 24 + license = licenses.lgpl2Plus; 25 description = "Implementation of the rsync remote-delta algorithm"; 26 + platforms = platforms.unix; 27 + maintainers = with maintainers; [ wkennington ]; 28 }; 29 }