* libsmbios updated to 2.0.3, which builds on GCC 4.3.

There is a newer version (2.2.x), but it requires Python,
  which I'd rather avoid in the NixOS base system (it's
  already large enough).

svn path=/nixpkgs/branches/stdenv-updates/; revision=14047
This commit is contained in:
Eelco Dolstra 2009-02-12 19:18:16 +00:00
parent 7bf6d9cbdf
commit ec9a796ee6

View file

@ -1,17 +1,19 @@
{stdenv, fetchurl, libxml2}: {stdenv, fetchurl, libxml2}:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "libsmbios-0.13.6"; name = "libsmbios-2.0.3";
src = fetchurl { src = fetchurl {
url = http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.6/libsmbios-0.13.6.tar.gz; url = "http://linux.dell.com/libsmbios/download/libsmbios/${name}/${name}.tar.gz";
sha256 = "0zjch3xzyr289x64wzaj67l4jj0x645krxmx4yqn18hp2innfffs"; sha256 = "1mgabn7r8pzi9f7zb4pvlmfm8jmrz1dcijz6nckvcnzxxi02pv4c";
}; };
buildInputs = [libxml2]; buildInputs = [libxml2];
configureFlags = "--disable-static"; # bloated enough as it is... configureFlags = "--disable-static"; # bloated enough as it is...
# `make install' forgets to install the header files. meta = {
postInstall = " homepage = http://linux.dell.com/libsmbios/main/index.html;
ensureDir $out/include description = "A library to obtain BIOS information";
cp -prvd include/smbios $out/include/ };
";
} }