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

{ventoy-full-gtk, ventoy-full-qt}: init by overriding ventoy-full (#388500)

parents 9822a156 388c49fb
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -55,7 +55,10 @@ let
    .${stdenv.hostPlatform.system} or (throw "Unsupported platform: ${stdenv.hostPlatform.system}");
in
stdenv.mkDerivation (finalAttrs: {
  pname = "ventoy";
  pname =
    "ventoy"
    + optionalString (defaultGuiType == "gtk3") "-gtk3"
    + optionalString (defaultGuiType == "qt5") "-qt5";
  version = "1.1.05";

  src = fetchurl {
@@ -194,7 +197,8 @@ stdenv.mkDerivation (finalAttrs: {

  meta = {
    homepage = "https://www.ventoy.net";
    description = "New Bootable USB Solution";
    description =
      "New Bootable USB Solution" + optionalString (defaultGuiType != "") " with GUI support";
    longDescription = ''
      Ventoy is an open source tool to create bootable USB drive for
      ISO/WIM/IMG/VHD(x)/EFI files.  With ventoy, you don't need to format the
@@ -211,7 +215,9 @@ stdenv.mkDerivation (finalAttrs: {
    changelog = "https://www.ventoy.net/doc_news.html";
    license = lib.licenses.gpl3Plus;
    mainProgram = "ventoy";
    maintainers = with lib.maintainers; [ ];
    maintainers = with lib.maintainers; [
      johnrtitor
    ];
    platforms = [
      "x86_64-linux"
      "i686-linux"
+8 −0
Original line number Diff line number Diff line
@@ -1105,6 +1105,14 @@ with pkgs;
    withNtfs = true;
  };
  ventoy-full-gtk = ventoy-full.override {
    defaultGuiType = "gtk3";
  };
  ventoy-full-qt = ventoy-full.override {
    defaultGuiType = "qt5";
  };
  vprof = with python3Packages; toPythonApplication vprof;
  vrc-get = callPackage ../tools/misc/vrc-get { };