hwdata: switch to finalAttrs, remove configureFlags, add johnrtitor as maintainer

https://github.com/NixOS/nixpkgs/pull/395495#pullrequestreview-2736394121

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
John Titor
2025-05-26 20:54:26 +05:30
committed by Masum Reza
parent e5080cff97
commit bd281eaba1
+9 -8
View File
@@ -4,26 +4,27 @@
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "hwdata";
version = "0.395";
version = "0.393";
src = fetchFromGitHub {
owner = "vcrhonek";
repo = "hwdata";
rev = "v${version}";
hash = "sha256-wLdJGaJVqClso75iRSpSVlobdx7Rv01YreiPsDzwjok=";
rev = "v${finalAttrs.version}";
hash = "sha256-RDp5NY9VYD0gylvzYpg9BytfRdQ6dim1jJtv32yeF3k=";
};
configureFlags = [ "--datadir=${placeholder "out"}/share" ];
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
meta = {
homepage = "https://github.com/vcrhonek/hwdata";
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ pedrohlc ];
maintainers = with lib.maintainers; [
johnrtitor
pedrohlc
];
platforms = lib.platforms.all;
};
}
})