forked from mirrors/nixpkgs
* Added libsmbios for access to Dell-specific hardware features.
* Added more optional Hal dependencies. svn path=/nixpkgs/trunk/; revision=8844
This commit is contained in:
parent
42c246ec16
commit
cb3b10a646
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, pkgconfig, python, pciutils, usbutils, expat
|
||||
, libusb, dbus, dbus_glib, glib, libvolume_id, perl, perlXMLParser
|
||||
, gettext
|
||||
, gettext, zlib /* required by pciutils */, eject, libsmbios
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [
|
||||
pkgconfig python pciutils expat libusb dbus dbus_glib glib
|
||||
libvolume_id perl perlXMLParser gettext
|
||||
libvolume_id perl perlXMLParser gettext zlib libsmbios
|
||||
];
|
||||
|
||||
# !!! Hm, maybe the pci/usb.ids location should be in /etc, so that
|
||||
|
@ -24,6 +24,7 @@ stdenv.mkDerivation {
|
|||
--disable-docbook-docs
|
||||
--disable-gtk-doc
|
||||
--localstatedir=/var
|
||||
--with-eject=${eject}/bin/eject
|
||||
";
|
||||
|
||||
/*
|
||||
|
|
17
pkgs/os-specific/linux/libsmbios/default.nix
Normal file
17
pkgs/os-specific/linux/libsmbios/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{stdenv, fetchurl, libxml2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libsmbios-0.13.6";
|
||||
src = fetchurl {
|
||||
url = http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.6/libsmbios-0.13.6.tar.gz;
|
||||
sha256 = "0zjch3xzyr289x64wzaj67l4jj0x645krxmx4yqn18hp2innfffs";
|
||||
};
|
||||
buildInputs = [libxml2];
|
||||
configureFlags = "--disable-static"; # bloated enough as it is...
|
||||
|
||||
# `make install' forgets to install the header files.
|
||||
postInstall = "
|
||||
ensureDir $out/include
|
||||
cp -prvd include/smbios $out/include/
|
||||
";
|
||||
}
|
|
@ -2233,7 +2233,7 @@ rec {
|
|||
hal = import ../os-specific/linux/hal {
|
||||
inherit fetchurl stdenv pkgconfig python pciutils usbutils expat
|
||||
libusb dbus dbus_glib libvolume_id perl perlXMLParser
|
||||
gettext;
|
||||
gettext zlib eject libsmbios;
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
|
@ -2364,6 +2364,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
libsmbios = import ../os-specific/linux/libsmbios {
|
||||
inherit fetchurl stdenv libxml2;
|
||||
};
|
||||
|
||||
klibc = import ../os-specific/linux/klibc {
|
||||
inherit fetchurl stdenv perl bison mktemp kernel;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue