udisks2: add gobjectIntrospection to nativeBuildInputs

This commit is contained in:
Johannes Frankenau 2018-02-24 17:28:41 +01:00 committed by Jan Tojnar
parent 92f5b39af1
commit 2cc5ac2299
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,6 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, gnused
, expat, acl, systemd, glib, libatasmart, polkit
, libxslt, docbook_xsl, utillinux, mdadm, libgudev
, gobjectIntrospection
}:
stdenv.mkDerivation rec {
@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0spl155k0g2l2hvqf8xyjv08i68gfyhzpjva6cwlzxx0bz4gbify";
};
outputs = [ "out" "man" ];
outputs = [ "out" "man" "dev" ];
patches = [ ./force-path.patch ];
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
--replace " sed " " ${gnused}/bin/sed "
'';
nativeBuildInputs = [ pkgconfig intltool ];
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection ];
buildInputs = [ libxslt docbook_xsl libgudev expat acl systemd glib libatasmart polkit ];
@ -38,6 +39,11 @@ stdenv.mkDerivation rec {
"--with-udevdir=$(out)/lib/udev"
];
makeFlags = [
"INTROSPECTION_GIRDIR=$(dev)/share/gir-1.0"
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
];
meta = {
homepage = http://www.freedesktop.org/wiki/Software/udisks;
description = "A daemon and command-line utility for querying and manipulating storage devices";