diff --git a/pkgs/os-specific/linux/libsmbios/default.nix b/pkgs/os-specific/linux/libsmbios/default.nix index 87737bd28ccc..2cdeed3ac49c 100644 --- a/pkgs/os-specific/linux/libsmbios/default.nix +++ b/pkgs/os-specific/linux/libsmbios/default.nix @@ -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"; + }; }