diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 9b146e5363cf..472d56cd68dd 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -29588,6 +29588,12 @@ githubId = 71881325; name = "Stefan Bordei"; }; + ZZBaron = { + email = "zzbarona+nix@gmail.com"; + github = "ZZBaron"; + githubId = 157318434; + name = "ZZBaron"; + }; zzzsy = { email = "me@zzzsy.top"; github = "zzzsyyy"; diff --git a/pkgs/by-name/im/imgui-file-dialog/package.nix b/pkgs/by-name/im/imgui-file-dialog/package.nix new file mode 100644 index 000000000000..9e0ad4f30025 --- /dev/null +++ b/pkgs/by-name/im/imgui-file-dialog/package.nix @@ -0,0 +1,43 @@ +{ + stdenv, + lib, + cmake, + fetchFromGitHub, + imgui, + nix-update-script, +}: + +stdenv.mkDerivation rec { + pname = "imgui-file-dialog"; + version = "0.6.8"; + + src = fetchFromGitHub { + owner = "aiekick"; + repo = "ImGuiFileDialog"; + tag = "v${version}"; + hash = "sha256-v5ROW4o4of3tUGMN/p/CNH1eWT+RNRlWvhI84HUMEGo="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ imgui ]; + + # Propagate imgui so users can find the headers (ImGuiFileDialog.h includes imgui.h) + propagatedBuildInputs = [ imgui ]; + + outputs = [ + "out" + "dev" + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Full featured file dialog for Dear ImGui"; + homepage = "https://github.com/aiekick/ImGuiFileDialog"; + changelog = "https://github.com/aiekick/ImGuiFileDialog/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ZZBaron ]; + platforms = lib.platforms.all; + }; +}