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