Commit 579ba840 authored by Matteo Pacini's avatar Matteo Pacini
Browse files

_86Box: format with nixfmt-rfc-style

parent 4aae1e48
Loading
Loading
Loading
Loading
+30 −21
Original line number Diff line number Diff line
@@ -49,14 +49,20 @@ stdenv.mkDerivation (finalAttrs: {
    substituteAllInPlace src/qt/qt_platform.cpp
  '';

  nativeBuildInputs = [
  nativeBuildInputs =
    [
      cmake
      pkg-config
      makeWrapper
      qt5.wrapQtAppsHook
  ] ++ lib.optionals enableWayland [ extra-cmake-modules wayland-scanner ];
    ]
    ++ lib.optionals enableWayland [
      extra-cmake-modules
      wayland-scanner
    ];

  buildInputs = [
  buildInputs =
    [
      freetype
      fluidsynth
      SDL2
@@ -69,7 +75,8 @@ stdenv.mkDerivation (finalAttrs: {
      libslirp
      qt5.qtbase
      qt5.qttools
  ] ++ lib.optional stdenv.isLinux alsa-lib
    ]
    ++ lib.optional stdenv.isLinux alsa-lib
    ++ lib.optional enableWayland wayland
    ++ lib.optional enableVncRenderer libvncserver
    ++ lib.optional stdenv.isDarwin darwin.apple_sdk_11_0.libs.xpc;
@@ -120,7 +127,9 @@ stdenv.mkDerivation (finalAttrs: {
    description = "Emulator of x86-based machines based on PCem";
    mainProgram = "86Box";
    homepage = "https://86box.net/";
    license = with lib.licenses; [ gpl2Only ] ++ lib.optional (unfreeEnableDiscord || unfreeEnableRoms) unfree;
    license =
      with lib.licenses;
      [ gpl2Only ] ++ lib.optional (unfreeEnableDiscord || unfreeEnableRoms) unfree;
    maintainers = with lib.maintainers; [ jchw ];
    platforms = lib.platforms.linux ++ lib.platforms.darwin;
  };