imgui: stop using 'with lib;'

This commit is contained in:
Someone Serge 2024-05-28 13:31:50 +00:00
parent 5940b0974d
commit 6156a117b1
4 changed files with 16 additions and 16 deletions

View File

@ -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;
};
}

View File

@ -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;
};
}

View File

@ -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;
};
}

View File

@ -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;
};
}