librsync: 0.9.7 -> 1.0.0
This commit is contained in:
parent
cd3b460200
commit
0a8efb537b
@ -1,22 +1,29 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchFromGitHub, autoreconfHook, perl, zlib, bzip2, popt }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "librsync-0.9.7";
|
name = "librsync-${version}";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = mirror://sourceforge/librsync/librsync-0.9.7.tar.gz;
|
owner = "librsync";
|
||||||
sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6";
|
repo = "librsync";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0rc2pksdd0mhdvk8y1yix71rf19wdx1lb2ryrkhi7vcy240rvgvc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ autoreconfHook perl zlib bzip2 popt ];
|
||||||
|
|
||||||
configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
|
configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://librsync.sourceforge.net/;
|
homepage = http://librsync.sourceforge.net/;
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
description = "Implementation of the rsync remote-delta algorithm";
|
description = "Implementation of the rsync remote-delta algorithm";
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ wkennington ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user