2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip, xorg, libGLU, libGL }:
|
2018-02-03 11:31:10 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-02-03 11:31:10 +00:00
|
|
|
name = "AntTweakBar-1.16";
|
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
buildInputs = [ xorg.libX11 libGLU libGL ];
|
2018-02-03 11:31:10 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_116.zip";
|
|
|
|
sha256 = "0z3frxpzf54cjs07m6kg09p7nljhr7140f4pznwi7srwq4cvgkpv";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = "cd src";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/
|
|
|
|
cp ../lib/{libAntTweakBar.so,libAntTweakBar.so.1,libAntTweakBar.a} $out/lib/
|
|
|
|
cp -r ../include $out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Add a light/intuitive GUI to OpenGL applications";
|
|
|
|
longDescription = ''
|
|
|
|
A small and easy-to-use C/C++ library that allows to quickly add a light
|
|
|
|
and intuitive graphical user interface into graphic applications based on OpenGL
|
|
|
|
(compatibility and core profiles), DirectX 9, DirectX 10 or DirectX 11
|
|
|
|
to interactively tweak parameters on-screen
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://anttweakbar.sourceforge.net/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.zlib;
|
|
|
|
maintainers = [ lib.maintainers.razvan ];
|
|
|
|
platforms = lib.platforms.linux;
|
2018-02-03 11:31:10 +00:00
|
|
|
};
|
|
|
|
}
|