summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/imgui/package.py
blob: e0dd5b7e2c0dd7e4484318ef51f8a3fd33d1a817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class Imgui(Package):
    """Dear ImGui is a bloat-free graphical user interface library for C++.

    It outputs optimized vertex buffers that you can render anytime in your 3D-pipeline
    enabled application. It is fast, portable, renderer agnostic and self-contained
    (no external dependencies)."""

    homepage = "https://github.com/ocornut/imgui"
    url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.85.tar.gz"

    license("MIT")

    version("1.85", sha256="7ed49d1f4573004fa725a70642aaddd3e06bb57fcfe1c1a49ac6574a3e895a77")

    def install(self, spec, prefix):
        # No specific build process is required.
        # You can add the .cpp files to your existing project.
        install_tree(".", prefix)