Commit 6156a117 authored by Someone Serge's avatar Someone Serge
Browse files

imgui: stop using 'with lib;'

parent 5940b097
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -45,12 +45,12 @@ stdenv.mkDerivation rec {

  passthru.tests.examples = imnodes.override { withExamples = true; };

  meta = with lib; {
  meta = {
    description = "A small, dependency-free node editor for dear imgui";
    homepage = "https://github.com/Nelarius/imnodes";
    license = licenses.mit;
    maintainers = with maintainers; [ SomeoneSerge ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ SomeoneSerge ];
    mainProgram = "imnodes";
    platforms = platforms.all;
    platforms = lib.platforms.all;
  };
}
+4 −4
Original line number Diff line number Diff line
@@ -67,15 +67,15 @@ stdenv.mkDerivation rec {
    ++ lib.optionals stdenv.hostPlatform.isLinux [ gtk3 ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];

  meta = with lib; {
  meta = {
    description = "Standalone ImPlot Demos";
    homepage = "https://github.com/epezent/implot_demos";
    broken =
      stdenv.hostPlatform.isAarch64 # Target "mandel" relies on AVX2
      || stdenv.isDarwin;
    license = licenses.mit;
    maintainers = with maintainers; [ SomeoneSerge ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ SomeoneSerge ];
    mainProgram = "implot-demos";
    platforms = platforms.all;
    platforms = lib.platforms.all;
  };
}
+4 −4
Original line number Diff line number Diff line
@@ -31,11 +31,11 @@ stdenv.mkDerivation rec {
    implot-demos = callPackage ./demos { };
  };

  meta = with lib; {
  meta = {
    description = "Immediate Mode Plotting";
    homepage = "https://github.com/epezent/implot";
    license = licenses.mit;
    maintainers = with maintainers; [ SomeoneSerge ];
    platforms = platforms.all;
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ SomeoneSerge ];
    platforms = lib.platforms.all;
  };
}
+4 −4
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ stdenv.mkDerivation rec {
    };
  };

  meta = with lib; {
  meta = {
    # These flags haven't been tested:
    broken =
      IMGUI_FREETYPE
@@ -134,8 +134,8 @@ stdenv.mkDerivation rec {
      || IMGUI_BUILD_ANDROID_BINDING;
    description = "Bloat-free Graphical User interface for C++ with minimal dependencies";
    homepage = "https://github.com/ocornut/imgui";
    license = licenses.mit; # vcpkg licensed as MIT too
    maintainers = with maintainers; [ wolfangaukang ];
    platforms = platforms.all;
    license = lib.licenses.mit; # vcpkg licensed as MIT too
    maintainers = with lib.maintainers; [ wolfangaukang ];
    platforms = lib.platforms.all;
  };
}