2008-02-02 20:41:06 +00:00
|
|
|
args: with args;
|
2007-06-05 15:57:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "hal-0.5.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://people.freedesktop.org/~david/dist/hal-0.5.9.tar.gz;
|
|
|
|
sha256 = "178cm30kshwvs0kf5d3l9cn4hyhfv5h6c6q0qnl0jxhynvpgin35";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2008-02-02 20:41:06 +00:00
|
|
|
pkgconfig python pciutils expat libusb dbus.libs dbus_glib glib
|
2007-06-07 22:02:12 +00:00
|
|
|
libvolume_id perl perlXMLParser gettext zlib libsmbios
|
2007-06-05 15:57:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# !!! Hm, maybe the pci/usb.ids location should be in /etc, so that
|
|
|
|
# we don't have to rebuild HAL when we update the PCI/USB IDs.
|
|
|
|
configureFlags = "
|
2007-06-09 19:47:20 +00:00
|
|
|
--with-pci-ids=${pciutils}/share
|
|
|
|
--with-usb-ids=${usbutils}/share
|
2007-06-05 15:57:26 +00:00
|
|
|
--disable-docbook-docs
|
|
|
|
--disable-gtk-doc
|
|
|
|
--localstatedir=/var
|
2007-06-07 22:02:12 +00:00
|
|
|
--with-eject=${eject}/bin/eject
|
2007-06-05 15:57:26 +00:00
|
|
|
";
|
|
|
|
|
2007-06-09 19:47:20 +00:00
|
|
|
preBuild = "
|
|
|
|
substituteInPlace hald/linux/coldplug.c --replace /usr/bin/udevinfo ${udev}/bin/udevinfo
|
2007-06-05 15:57:26 +00:00
|
|
|
";
|
|
|
|
}
|