nixpkgs/pkgs/os-specific/linux/libsmbios/default.nix

20 lines
509 B
Nix
Raw Normal View History

{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";
};
}