upower: Use libgudev

This commit is contained in:
Eelco Dolstra 2015-09-08 20:19:37 +02:00
parent a6de3feb97
commit 2a8e86bb05

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, glib, dbus, dbus_glib, dbus_tools
, intltool, libxslt, docbook_xsl, udev, libusb1, pmutils
, intltool, libxslt, docbook_xsl, udev, libusb1, pmutils, libgudev
, useSystemd ? true, systemd, gobjectIntrospection
}:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs =
[ dbus_glib intltool libxslt docbook_xsl udev libusb1 gobjectIntrospection ]
[ dbus_glib intltool libxslt docbook_xsl udev libgudev libusb1 gobjectIntrospection ]
++ stdenv.lib.optional useSystemd systemd;
nativeBuildInputs = [ pkgconfig ];