Unverified Commit ff93706a authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

efibooteditor: 1.5.3 -> 1.5.4 (#460740)

parents d7370eff 82c689f1
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -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";