xqilla: unbreak darwin; add required frameworks

This commit is contained in:
paparodeo 2024-05-28 10:49:39 +00:00
parent c398cede57
commit d32beebac2
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, xercesc }:
{ lib, stdenv, fetchurl, fetchpatch, darwin, xercesc }:
stdenv.mkDerivation rec {
pname = "xqilla";
@ -23,6 +23,13 @@ stdenv.mkDerivation rec {
"CXXFLAGS=-std=c++14"
];
buildInputs = [
xercesc
] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
CoreServices
SystemConfiguration
]);
meta = with lib; {
description = "An XQuery and XPath 2 library and command line utility written in C++, implemented on top of the Xerces-C library";
mainProgram = "xqilla";