2016-02-07 15:27:57 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2015-04-16 15:58:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "librsync-0.9.7";
|
2016-02-07 15:27:57 +00:00
|
|
|
|
2015-04-16 15:58:31 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "mirror://sourceforge/librsync/librsync-0.9.7.tar.gz";
|
2015-04-16 15:58:31 +00:00
|
|
|
sha256 = "1mj1pj99mgf1a59q9f2mxjli2fzxpnf55233pc1klxk2arhf8cv6";
|
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 15:27:57 +00:00
|
|
|
|
2018-08-03 16:52:40 +00:00
|
|
|
configureFlags = [
|
|
|
|
(stdenv.lib.enableFeature stdenv.isCygwin "static")
|
|
|
|
(stdenv.lib.enableFeature (!stdenv.isCygwin) "shared")
|
|
|
|
];
|
2015-04-16 15:58:31 +00:00
|
|
|
|
2018-05-10 17:08:07 +00:00
|
|
|
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
2015-04-16 15:58:31 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://librsync.sourceforge.net/";
|
2015-04-16 15:58:31 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
|
|
description = "Implementation of the rsync remote-delta algorithm";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-04-16 15:58:31 +00:00
|
|
|
};
|
|
|
|
}
|