2010-06-03 17:37:02 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "judy-1.0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/judy/Judy-1.0.5.tar.gz;
|
|
|
|
sha256 = "1sv3990vsx8hrza1mvq3bhvv9m6ff08y4yz7swn6znszz24l0w6j";
|
|
|
|
};
|
|
|
|
|
2015-03-09 15:37:14 +01:00
|
|
|
# gcc 4.8 optimisations break judy.
|
2018-12-01 19:49:28 +01:00
|
|
|
# https://sourceforge.net/p/judy/mailman/message/31995144/
|
2015-05-11 23:37:53 +02:00
|
|
|
preConfigure = stdenv.lib.optionalString stdenv.cc.isGNU ''
|
2015-03-09 15:37:14 +01:00
|
|
|
configureFlagsArray+=("CFLAGS=-fno-strict-aliasing -fno-aggressive-loop-optimizations")
|
|
|
|
'';
|
|
|
|
|
2010-06-03 17:37:02 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://judy.sourceforge.net/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
2010-06-03 17:37:02 +02:00
|
|
|
description = "State-of-the-art C library that implements a sparse dynamic array";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-06-03 17:37:02 +02:00
|
|
|
};
|
|
|
|
}
|