2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, redland, pkg-config, gmp, zlib, librdf_raptor2
|
2011-08-18 00:22:06 +02:00
|
|
|
, 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
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
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/";
|
2021-01-15 08:07:56 +01:00
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
|
|
platforms = with lib.platforms;
|
2010-06-30 00:18:49 +02:00
|
|
|
linux ++ freebsd ++ gnu;
|
2021-01-15 08:07:56 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2010-06-30 00:18:49 +02:00
|
|
|
};
|
2011-05-04 14:43:31 +02:00
|
|
|
}
|