mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-02 18:47:58 +03:00
pciutils: add trivial updater
This commit is contained in:
parent
3a63bcb4b6
commit
d8b734f6a4
@ -2,6 +2,7 @@
|
||||
, hwdata
|
||||
, static ? stdenv.hostPlatform.isStatic
|
||||
, IOKit
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user