Unverified Commit d21acace authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

uefitool: a72 -> a73 (#497856)

parents 86c3b9e4 5fd29c80
Loading
Loading
Loading
Loading
+15 −6
Original line number Diff line number Diff line
@@ -2,31 +2,40 @@
  lib,
  stdenv,
  fetchFromGitHub,
  qtbase,
  qt6,
  wrapGAppsHook3,
  cmake,
  wrapQtAppsHook,
  zip,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "uefitool";
  version = "A72";
  version = "A73";

  src = fetchFromGitHub {
    hash = "sha256-sVosxqUUvkZwJIY9FZ9N6xoDyBpSgTLFUmD4B9ymTHs=";
    owner = "LongSoft";
    repo = "uefitool";
    tag = finalAttrs.version;
    hash = "sha256-XZGddj0i/r1rqntEcqU2AK6ihvqwN031TR12qmEmKLk=";
  };

  buildInputs = [ qtbase ];
  buildInputs = [ qt6.qtbase ];

  nativeBuildInputs = [
    cmake
    zip
    wrapQtAppsHook
    qt6.wrapQtAppsHook
    wrapGAppsHook3
  ];

  patches = lib.optionals stdenv.hostPlatform.isDarwin [ ./bundle-destination.patch ];

  dontWrapGApps = true;

  preFixup = ''
    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';

  meta = {
    description = "UEFI firmware image viewer and editor";
    homepage = "https://github.com/LongSoft/uefitool";