From bd281eaba1e82ca8c28eee05d4ff9c9655366d92 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Mon, 26 May 2025 20:47:57 +0530 Subject: [PATCH] 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> --- pkgs/by-name/hw/hwdata/package.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/hw/hwdata/package.nix b/pkgs/by-name/hw/hwdata/package.nix index 087414ee6531..0f3c75650d40 100644 --- a/pkgs/by-name/hw/hwdata/package.nix +++ b/pkgs/by-name/hw/hwdata/package.nix @@ -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; }; -} +})