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