1 { lib, stdenv, fetchurl, redland, pkg-config, gmp, zlib, librdf_raptor2
4 stdenv.mkDerivation rec {
9 url = "https://www.aelius.com/njh/redstore/redstore-${version}.tar.gz";
10 sha256 = "0hc1fjfbfvggl72zqx27v4wy84f5m7bp4dnwd8g41aw8lgynbgaq";
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ gmp redland zlib librdf_raptor2 librdf_rasqal ];
17 # Define _XOPEN_SOURCE to enable, e.g., getaddrinfo.
18 configureFlagsArray+=(
19 "CFLAGS=-D_XOPEN_SOURCE=600 -I${librdf_raptor2}/include/raptor2 -I${librdf_rasqal}/include/rasqal"
24 description = "An HTTP interface to Redland RDF store";
25 mainProgram = "redstore";
26 homepage = "https://www.aelius.com/njh/redstore/";
27 maintainers = [ lib.maintainers.raskin ];
28 platforms = with lib.platforms;
29 linux ++ freebsd ++ gnu;
30 license = lib.licenses.gpl3Plus;