Merge pull request #206701 from trofi/pciutils-update

pciutils: 3.8.0 -> 3.9.0
This commit is contained in:
Sergei Trofimovich
2022-12-19 17:51:54 +00:00
committed by GitHub
+9 -2
View File
@@ -2,15 +2,16 @@
, hwdata
, static ? stdenv.hostPlatform.isStatic
, IOKit
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "pciutils";
version = "3.8.0"; # with release-date database
version = "3.9.0"; # with release-date database
src = fetchurl {
url = "mirror://kernel/software/utils/pciutils/pciutils-${version}.tar.xz";
sha256 = "sha256-ke29BCmoRwXJrRVtT/OMzHJNQepUxMW4jjjplvijTwU=";
sha256 = "sha256-zep66XI53uIySaCcaKGaKHo/EJ++ssIy67YWyzhZkBI=";
};
nativeBuildInputs = [ pkg-config ];
@@ -43,6 +44,12 @@ stdenv.mkDerivation rec {
cp --reflink=auto ${hwdata}/share/hwdata/pci.ids $out/share/pci.ids
'';
passthru.updateScript = gitUpdater {
# No nicer place to find latest release.
url = "https://github.com/pciutils/pciutils.git";
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://mj.ucw.cz/sw/pciutils/";
description = "A collection of programs for inspecting and manipulating configuration of PCI devices";