Unverified Commit f6c8aacc authored by lassulus's avatar lassulus Committed by GitHub
Browse files

hwinfo: 23.2 -> 23.3 (#351260)

parents ad3e815d 7ad1f4f4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -20,13 +20,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "hwinfo";
  version = "23.2";
  version = "23.3";

  src = fetchFromGitHub {
    owner = "opensuse";
    repo = "hwinfo";
    rev = finalAttrs.version;
    hash = "sha256-YAhsnE1DJ5UlYAuhDxS/5IpfIJB6DrhCT3E0YiKENjU=";
    hash = "sha256-TOW6jD7ZTA32H4oByaVkDAjUSwo9JSID7WSBYj7ZzBs=";
  };

  nativeBuildInputs = [
@@ -65,6 +65,8 @@ stdenv.mkDerivation (finalAttrs: {
      --replace-fail "/usr/bin/udevinfo" "${systemdMinimal}/bin/udevinfo" \
      --replace-fail "/usr/bin/udevadm" "${systemdMinimal}/bin/udevadm"

    # Replace /usr/bin/perl
    patchShebangs src/ids/convert_hd
  '';

  # The pci/usb ids in hwinfo are ancient. We can get a more up-to-date list simply by copying from systemd