summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libsmbios/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-10-06 10:23:31 +0000
committerPeter Simons <simons@cryp.to>2011-10-06 10:23:31 +0000
commite543b455dfa6d8d56cbd6767c70af04ceaf36df1 (patch)
treef357c45c17503723e0d533a1a875a20f36664005 /pkgs/os-specific/linux/libsmbios/default.nix
parent161c5bdafac6166d468b5f233a1c9087d1e1944b (diff)
downloadnixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar
nixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.gz
nixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.bz2
nixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.lz
nixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.xz
nixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.tar.zst
nixpkgs-e543b455dfa6d8d56cbd6767c70af04ceaf36df1.zip
libsmbios: updated to version 2.2.28 to fix build errors with GCC 4.6.1
svn path=/nixpkgs/trunk/; revision=29684
Diffstat (limited to 'pkgs/os-specific/linux/libsmbios/default.nix')
-rw-r--r--pkgs/os-specific/linux/libsmbios/default.nix26
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 41b440a4898..7b7e1c96ab5 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 ];
   };
 }