lol

librsync: 0.9.7 -> 1.0.0

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