2011-08-17 23:22:06 +01:00
|
|
|
{ stdenv, fetchurl, redland, pkgconfig, gmp, zlib, librdf_raptor2
|
|
|
|
, librdf_rasqal }:
|
2010-06-29 23:18:49 +01:00
|
|
|
|
2011-05-04 13:43:31 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-08-17 23:22:06 +01:00
|
|
|
name = "redstore-0.5.2";
|
2010-06-29 23:18:49 +01:00
|
|
|
|
2011-05-04 13:43:31 +01:00
|
|
|
src = fetchurl {
|
2011-08-17 23:22:06 +01:00
|
|
|
url = "http://www.aelius.com/njh/redstore/${name}.tar.gz";
|
|
|
|
sha256 = "fdbe499a7bbe8c8a756ecb738b83ea375e96af16a1d74245b75600d4d40adb7d";
|
2011-05-04 13:43:31 +01:00
|
|
|
};
|
|
|
|
|
2011-08-17 23:22:06 +01:00
|
|
|
buildInputs = [ gmp pkgconfig redland zlib librdf_raptor2 librdf_rasqal ];
|
2016-08-17 21:31:07 +01:00
|
|
|
|
2011-08-17 23:22:06 +01:00
|
|
|
preConfigure = ''
|
2016-08-17 21:31:07 +01: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-17 23:22:06 +01:00
|
|
|
'';
|
|
|
|
|
2010-06-29 23:18:49 +01:00
|
|
|
meta = {
|
|
|
|
description = "An HTTP interface to Redland RDF store";
|
2011-05-04 13:43:31 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
|
|
platforms = with stdenv.lib.platforms;
|
2010-06-29 23:18:49 +01:00
|
|
|
linux ++ freebsd ++ gnu;
|
|
|
|
};
|
2011-05-04 13:43:31 +01:00
|
|
|
}
|