2021-01-11 07:54:33 +00:00
|
|
|
{lib, stdenv, fetchgit, cmake, libGLU, libGL, xorg }:
|
2017-01-30 01:44:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "glee";
|
|
|
|
rev = "f727ec7463d514b6279981d12833f2e11d62b33d";
|
2021-01-15 09:19:50 +00:00
|
|
|
version = "20170205-${lib.strings.substring 0 7 rev}";
|
2017-01-30 01:44:50 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://git.code.sf.net/p/${pname}/${pname}";
|
|
|
|
sha256 = "13mf3s7nvmj26vr2wbcg08l4xxqsc1ha41sx3bfghvq8c5qpk2ph";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ libGLU libGL xorg.libX11 ];
|
2017-01-30 01:44:50 +00:00
|
|
|
|
|
|
|
configureScript = ''
|
|
|
|
cmake
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
sed -i 's/readme/Readme/' cmake_install.cmake
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-01-30 01:44:50 +00:00
|
|
|
description = "GL Easy Extension Library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/p/glee/glee/";
|
2021-05-14 15:00:41 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-01-30 01:44:50 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|