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