1 { lib, stdenv, fetchurl, unzip, xorg, libGLU, libGL }:
3 stdenv.mkDerivation rec {
7 nativeBuildInputs = [ unzip ];
8 buildInputs = [ xorg.libX11 libGLU libGL ];
11 url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_${lib.replaceStrings ["."] [""] version}.zip";
12 sha256 = "0z3frxpzf54cjs07m6kg09p7nljhr7140f4pznwi7srwq4cvgkpv";
18 cp ../lib/{libAntTweakBar.so,libAntTweakBar.so.1,libAntTweakBar.a} $out/lib/
19 cp -r ../include $out/
23 description = "Add a light/intuitive GUI to OpenGL applications";
25 A small and easy-to-use C/C++ library that allows to quickly add a light
26 and intuitive graphical user interface into graphic applications based on OpenGL
27 (compatibility and core profiles), DirectX 9, DirectX 10 or DirectX 11
28 to interactively tweak parameters on-screen
30 homepage = "https://anttweakbar.sourceforge.net/";
31 license = lib.licenses.zlib;
32 maintainers = [ lib.maintainers.razvan ];
33 platforms = lib.platforms.linux;