mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
31 lines
917 B
Nix
31 lines
917 B
Nix
{ lib, stdenv, fetchurl, redland, pkg-config, gmp, zlib, librdf_raptor2
|
|
, librdf_rasqal }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "redstore-0.5.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.aelius.com/njh/redstore/${name}.tar.gz";
|
|
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/";
|
|
maintainers = [ lib.maintainers.raskin ];
|
|
platforms = with lib.platforms;
|
|
linux ++ freebsd ++ gnu;
|
|
license = lib.licenses.gpl3Plus;
|
|
};
|
|
}
|