2016-02-07 16:27:57 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2015-04-16 17:58:31 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "librsync-0.9.7";
|
2016-02-07 16:27:57 +01:00
|
|
|
|
2015-04-16 17:58:31 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/librsync/librsync-0.9.7.tar.gz;
|
|
|
|
sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6";
|
|
|
|
};
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 16:27:57 +01:00
|
|
|
|
2015-04-16 17:58:31 +02:00
|
|
|
configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
|
|
|
|
|
|
|
|
crossAttrs = {
|
|
|
|
dontStrip = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://librsync.sourceforge.net/;
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
description = "Implementation of the rsync remote-delta algorithm";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-04-16 17:58:31 +02:00
|
|
|
};
|
|
|
|
}
|