1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/servers/http/redstore/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

31 lines
928 B
Nix

{ stdenv, fetchurl, redland, pkgconfig, gmp, zlib, librdf_raptor2
, librdf_rasqal }:
stdenv.mkDerivation rec {
name = "redstore-0.5.4";
src = fetchurl {
url = "http://www.aelius.com/njh/redstore/${name}.tar.gz";
sha256 = "0hc1fjfbfvggl72zqx27v4wy84f5m7bp4dnwd8g41aw8lgynbgaq";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gmp redland zlib librdf_raptor2 librdf_rasqal ];
preConfigure = ''
# Define _XOPEN_SOURCE to enable, e.g., getaddrinfo.
configureFlagsArray+=(
"CFLAGS=-D_XOPEN_SOURCE=600 -I${librdf_raptor2}/include/raptor2 -I${librdf_rasqal}/include/rasqal"
)
'';
meta = {
description = "An HTTP interface to Redland RDF store";
homepage = https://www.aelius.com/njh/redstore/;
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = with stdenv.lib.platforms;
linux ++ freebsd ++ gnu;
license = stdenv.lib.licenses.gpl3Plus;
};
}