2011-08-18 00:22:06 +02:00
|
|
|
{ stdenv, fetchurl, redland, pkgconfig, gmp, zlib, librdf_raptor2
|
|
|
|
, librdf_rasqal }:
|
2010-06-30 00:18:49 +02:00
|
|
|
|
2011-05-04 14:43:31 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-08-17 22:33:01 +02:00
|
|
|
name = "redstore-0.5.4";
|
2010-06-30 00:18:49 +02:00
|
|
|
|
2011-05-04 14:43:31 +02:00
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.aelius.com/njh/redstore/${name}.tar.gz";
|
2016-08-17 22:33:01 +02:00
|
|
|
sha256 = "0hc1fjfbfvggl72zqx27v4wy84f5m7bp4dnwd8g41aw8lgynbgaq";
|
2011-05-04 14:43:31 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gmp redland zlib librdf_raptor2 librdf_rasqal ];
|
2016-08-17 22:31:07 +02:00
|
|
|
|
2011-08-18 00:22:06 +02:00
|
|
|
preConfigure = ''
|
2016-08-17 22:31:07 +02:00
|
|
|
# Define _XOPEN_SOURCE to enable, e.g., getaddrinfo.
|
|
|
|
configureFlagsArray+=(
|
|
|
|
"CFLAGS=-D_XOPEN_SOURCE=600 -I${librdf_raptor2}/include/raptor2 -I${librdf_rasqal}/include/rasqal"
|
|
|
|
)
|
2011-08-18 00:22:06 +02:00
|
|
|
'';
|
|
|
|
|
2010-06-30 00:18:49 +02:00
|
|
|
meta = {
|
|
|
|
description = "An HTTP interface to Redland RDF store";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.aelius.com/njh/redstore/";
|
2011-05-04 14:43:31 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
platforms = with stdenv.lib.platforms;
|
2010-06-30 00:18:49 +02:00
|
|
|
linux ++ freebsd ++ gnu;
|
2016-08-17 22:40:49 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-06-30 00:18:49 +02:00
|
|
|
};
|
2011-05-04 14:43:31 +02:00
|
|
|
}
|