libsmbios: updated to version 2.2.28 to fix build errors with GCC 4.6.1

svn path=/nixpkgs/trunk/; revision=29684

+16 -10
+16 -10
pkgs/os-specific/linux/libsmbios/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, libxml2, perl }: 2 2 3 - stdenv.mkDerivation rec { 4 - name = "libsmbios-2.2.19"; 3 + let 4 + name = "libsmbios-2.2.28"; 5 + in 6 + stdenv.mkDerivation { 7 + inherit name; 5 8 6 9 src = fetchurl { 7 10 url = "http://linux.dell.com/libsmbios/download/libsmbios/${name}/${name}.tar.gz"; 8 - sha256 = "0f4wnjml734ssg583r448ypax7vf3f9n8gybzvzg170lc3byayhv"; 11 + sha256 = "03m0n834w49acwbf5cf9ync1ksnn2jkwaysvy7584y60qpmngb91"; 9 12 }; 10 - 13 + 11 14 buildInputs = [ pkgconfig libxml2 perl ]; 12 15 13 16 # It tries to install some Python stuff even when Python is disabled. ··· 16 19 # It forgets to install headers. 17 20 postInstall = 18 21 '' 19 - cp -a src/include/* $out/include 20 - cp -a out/public-include/* $out/include 21 - ''; # */ 22 + cp -va "src/include/"* "$out/include/" 23 + cp -va "out/public-include/"* "$out/include/" 24 + ''; 22 25 23 26 meta = { 24 - homepage = http://linux.dell.com/libsmbios/main/index.html; 25 - description = "A library to obtain BIOS information"; 26 - license = "GPLv2+"; # alternatively, under the Open Software License version 2.1 27 + homepage = "http://linux.dell.com/libsmbios/main"; 28 + description = "a library to obtain BIOS information"; 29 + license = stdenv.lib.licenses.gpl2Plus; # alternatively, under the Open Software License version 2.1 30 + 31 + platforms = stdenv.lib.platforms.linux; 32 + maintainers = [ stdenv.lib.maintainers.simons ]; 27 33 }; 28 34 }