summary refs log tree commit diff
path: root/pkgs/tools/system/pciutils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/pciutils/default.nix')
-rw-r--r--pkgs/tools/system/pciutils/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/system/pciutils/default.nix b/pkgs/tools/system/pciutils/default.nix
index 25201ba97ab..972fb41804a 100644
--- a/pkgs/tools/system/pciutils/default.nix
+++ b/pkgs/tools/system/pciutils/default.nix
@@ -8,11 +8,11 @@ let
   };
 in
 stdenv.mkDerivation rec {
-  name = "pciutils-3.2.1"; # with database from 2013-11-10
+  name = "pciutils-3.3.1"; # with database from 2015-04
 
   src = fetchurl {
-    url = "mirror://kernel/software/utils/pciutils/${name}.tar.bz2";
-    sha256 = "1pnwwc4sq0q7zz3mw2rsrc9j5rxwpdvxirqjmxcd0brf0hcjpm8j";
+    url = "mirror://kernel/software/utils/pciutils/${name}.tar.xz";
+    sha256 = "1ag3skny1bamqil46dlppw8j1fp08spqa60fjygbxkg4fzdknjji";
   };
 
   buildInputs = [ pkgconfig zlib kmod which ];
@@ -26,8 +26,12 @@ stdenv.mkDerivation rec {
   # Get rid of update-pciids as it won't work.
   postInstall = "rm $out/sbin/update-pciids $out/man/man8/update-pciids.8";
 
-  meta = {
-    homepage = http://mj.ucw.cz/pciutils.shtml;
+  meta = with stdenv.lib; {
+    homepage = http://mj.ucw.cz/pciutils.html;
     description = "A collection of programs for inspecting and manipulating configuration of PCI devices";
+    license = licenses.gpl2Plus;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
   };
 }
+