nixpkgs/pkgs/os-specific/linux/libsmbios/default.nix
Eelco Dolstra ec9a796ee6 * 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
2009-02-12 19:18:16 +00:00

20 lines
509 B
Nix

{stdenv, fetchurl, libxml2}:
stdenv.mkDerivation rec {
name = "libsmbios-2.0.3";
src = fetchurl {
url = "http://linux.dell.com/libsmbios/download/libsmbios/${name}/${name}.tar.gz";
sha256 = "1mgabn7r8pzi9f7zb4pvlmfm8jmrz1dcijz6nckvcnzxxi02pv4c";
};
buildInputs = [libxml2];
configureFlags = "--disable-static"; # bloated enough as it is...
meta = {
homepage = http://linux.dell.com/libsmbios/main/index.html;
description = "A library to obtain BIOS information";
};
}