nixpkgs-suyu/pkgs/servers/http/redstore/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
945 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, redland, pkg-config, gmp, zlib, librdf_raptor2
, librdf_rasqal }:
stdenv.mkDerivation rec {
pname = "redstore";
version = "0.5.4";
src = fetchurl {
url = "https://www.aelius.com/njh/redstore/redstore-${version}.tar.gz";
2016-08-17 22:33:01 +02:00
sha256 = "0hc1fjfbfvggl72zqx27v4wy84f5m7bp4dnwd8g41aw8lgynbgaq";
};
nativeBuildInputs = [ pkg-config ];
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/";
2021-01-15 08:07:56 +01:00
maintainers = [ lib.maintainers.raskin ];
platforms = with lib.platforms;
linux ++ freebsd ++ gnu;
2021-01-15 08:07:56 +01:00
license = lib.licenses.gpl3Plus;
};
}