mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
9999bf7a21
gobject-introspection should be in nativeBuildInputs for cross to work properly (so propagations and hook work properly)
36 lines
610 B
Nix
36 lines
610 B
Nix
{ stdenv
|
|
, arrow-cpp
|
|
, fetchurl
|
|
, glib
|
|
, gobject-introspection
|
|
, lib
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "arrow-glib";
|
|
inherit (arrow-cpp) src version;
|
|
sourceRoot = "apache-arrow-${version}/c_glib";
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
arrow-cpp
|
|
glib
|
|
];
|
|
|
|
meta = with lib; {
|
|
inherit (arrow-cpp.meta) license platforms;
|
|
description = "GLib bindings for Apache Arrow";
|
|
homepage = "https://arrow.apache.org/docs/c_glib/";
|
|
maintainers = with maintainers; [ amarshall ];
|
|
};
|
|
}
|