diff options
author | Peter Simons <simons@cryp.to> | 2011-10-06 10:23:31 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-10-06 10:23:31 +0000 |
commit | e543b455dfa6d8d56cbd6767c70af04ceaf36df1 (patch) | |
tree | f357c45c17503723e0d533a1a875a20f36664005 | |
parent | 161c5bdafac6166d468b5f233a1c9087d1e1944b (diff) | |
download | nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.gz nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.bz2 nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.lz nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.xz nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.zst nixlib-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.zip |
libsmbios: updated to version 2.2.28 to fix build errors with GCC 4.6.1
svn path=/nixpkgs/trunk/; revision=29684
-rw-r--r-- | pkgs/os-specific/linux/libsmbios/default.nix | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/libsmbios/default.nix b/pkgs/os-specific/linux/libsmbios/default.nix index 41b440a48985..7b7e1c96ab56 100644 --- a/pkgs/os-specific/linux/libsmbios/default.nix +++ b/pkgs/os-specific/linux/libsmbios/default.nix @@ -1,13 +1,16 @@ { stdenv, fetchurl, pkgconfig, libxml2, perl }: -stdenv.mkDerivation rec { - name = "libsmbios-2.2.19"; +let + name = "libsmbios-2.2.28"; +in +stdenv.mkDerivation { + inherit name; src = fetchurl { url = "http://linux.dell.com/libsmbios/download/libsmbios/${name}/${name}.tar.gz"; - sha256 = "0f4wnjml734ssg583r448ypax7vf3f9n8gybzvzg170lc3byayhv"; + sha256 = "03m0n834w49acwbf5cf9ync1ksnn2jkwaysvy7584y60qpmngb91"; }; - + buildInputs = [ pkgconfig libxml2 perl ]; # It tries to install some Python stuff even when Python is disabled. @@ -16,13 +19,16 @@ stdenv.mkDerivation rec { # It forgets to install headers. postInstall = '' - cp -a src/include/* $out/include - cp -a out/public-include/* $out/include - ''; # */ + cp -va "src/include/"* "$out/include/" + cp -va "out/public-include/"* "$out/include/" + ''; meta = { - homepage = http://linux.dell.com/libsmbios/main/index.html; - description = "A library to obtain BIOS information"; - license = "GPLv2+"; # alternatively, under the Open Software License version 2.1 + homepage = "http://linux.dell.com/libsmbios/main"; + description = "a library to obtain BIOS information"; + license = stdenv.lib.licenses.gpl2Plus; # alternatively, under the Open Software License version 2.1 + + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.simons ]; }; } |