Unverified Commit ac005af9 authored by Colin's avatar Colin Committed by GitHub
Browse files

imgui-file-dialog: init at 0.6.8 (#448722)

parents 20d530bd 19df1d9e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+43 −0
Original line number Diff line number Diff line
{
  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;
  };
}