2022-01-23 10:30:18 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgsBuildBuild, autoreconfHook }:
|
2010-06-03 15:37:02 +00:00
|
|
|
|
2021-06-22 13:21:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "judy";
|
|
|
|
version = "1.0.5";
|
2010-06-03 15:37:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-22 13:21:29 +00:00
|
|
|
url = "mirror://sourceforge/judy/Judy-${version}.tar.gz";
|
2010-06-03 15:37:02 +00:00
|
|
|
sha256 = "1sv3990vsx8hrza1mvq3bhvv9m6ff08y4yz7swn6znszz24l0w6j";
|
|
|
|
};
|
|
|
|
|
2022-01-23 10:30:18 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
depsBuildBuild = [ pkgsBuildBuild.stdenv.cc ];
|
|
|
|
patches = [ ./cross.patch ];
|
2015-03-09 14:37:14 +00:00
|
|
|
|
2021-10-27 21:49:04 +00:00
|
|
|
# Disable parallel builds as manpages lack some dependencies:
|
|
|
|
# ../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs
|
|
|
|
# make[2]: *** No rule to make target 'man/man3/JSLD', needed by 'all-am'. Stop.
|
|
|
|
# Let's wait for the upstream fix similar to https://sourceforge.net/p/judy/patches/4/
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2010-06-03 15:37:02 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://judy.sourceforge.net/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
2010-06-03 15:37:02 +00:00
|
|
|
description = "State-of-the-art C library that implements a sparse dynamic array";
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2010-06-03 15:37:02 +00:00
|
|
|
};
|
|
|
|
}
|