Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
805 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
qtbase,
cmake,
wrapQtAppsHook,
zip,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "uefitool";
version = "A72";
src = fetchFromGitHub {
hash = "sha256-sVosxqUUvkZwJIY9FZ9N6xoDyBpSgTLFUmD4B9ymTHs=";
owner = "LongSoft";
repo = "uefitool";
tag = finalAttrs.version;
};
buildInputs = [ qtbase ];
nativeBuildInputs = [
cmake
zip
wrapQtAppsHook
];
patches = lib.optionals stdenv.hostPlatform.isDarwin [ ./bundle-destination.patch ];
meta = {
description = "UEFI firmware image viewer and editor";
homepage = "https://github.com/LongSoft/uefitool";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ athre0z ];
platforms = lib.platforms.unix;
mainProgram = "uefitool";
};
})