efibooteditor: 1.5.3 -> 1.5.4 (#460740)

This commit is contained in:
Aleksana
2025-12-02 11:55:02 +00:00
committed by GitHub
+16 -3
View File
@@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "efibooteditor";
version = "1.5.3";
version = "1.5.4";
src = fetchFromGitHub {
owner = "Neverous";
repo = "efibooteditor";
tag = "v${finalAttrs.version}";
hash = "sha256-xD40ZzkpwerDYC8nzGVqEHLV0KWbxcc0ApquQjrPJTc=";
hash = "sha256-tufB90EhO/jdCnQfeuibcJu5C7RfCjIxBYp+8uR0Zv0=";
};
buildInputs = [ zlib ] ++ lib.optional stdenv.hostPlatform.isLinux efivar;
@@ -39,7 +39,11 @@ stdenv.mkDerivation (finalAttrs: {
'sh -c "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY efibooteditor"'
'';
env.BUILD_VERSION = "v${finalAttrs.version}";
env = {
LANG = "C.UTF8";
BUILD_VERSION = "v${finalAttrs.version}";
};
cmakeBuildType = "MinSizeRel";
cmakeFlags = [ "-DQT_VERSION_MAJOR=6" ];
@@ -47,6 +51,15 @@ stdenv.mkDerivation (finalAttrs: {
install -Dm644 $src/LICENSE.txt $out/share/licenses/efibooteditor/LICENSE
'';
doCheck = true;
checkPhase = ''
runHook preCheck
ctest --output-on-failure
runHook postCheck
'';
meta = {
description = "Boot Editor for (U)EFI based systems";
homepage = "https://github.com/Neverous/efibooteditor";