* 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:
parent
7bf6d9cbdf
commit
ec9a796ee6
@ -1,17 +1,19 @@
|
||||
{stdenv, fetchurl, libxml2}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libsmbios-0.13.6";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libsmbios-2.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.6/libsmbios-0.13.6.tar.gz;
|
||||
sha256 = "0zjch3xzyr289x64wzaj67l4jj0x645krxmx4yqn18hp2innfffs";
|
||||
url = "http://linux.dell.com/libsmbios/download/libsmbios/${name}/${name}.tar.gz";
|
||||
sha256 = "1mgabn7r8pzi9f7zb4pvlmfm8jmrz1dcijz6nckvcnzxxi02pv4c";
|
||||
};
|
||||
|
||||
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/
|
||||
";
|
||||
meta = {
|
||||
homepage = http://linux.dell.com/libsmbios/main/index.html;
|
||||
description = "A library to obtain BIOS information";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user