2019-03-06 22:57:50 +00:00
|
|
|
{ stdenv, fetchurl, texinfo, allegro, perl, libX11 }:
|
2010-11-27 19:38:34 +00:00
|
|
|
|
2015-12-30 10:58:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cgui";
|
2019-03-06 22:57:50 +00:00
|
|
|
version="2.1.0";
|
2010-11-27 19:38:34 +00:00
|
|
|
|
2015-12-30 10:58:06 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/project/cgui/${version}/${pname}-${version}.tar.gz";
|
2019-03-06 22:57:50 +00:00
|
|
|
sha256 = "1pp1hvidpilq37skkmbgba4lvzi01rasy04y0cnas9ck0canv00s";
|
2015-12-30 10:58:06 +00:00
|
|
|
};
|
2010-11-27 19:38:34 +00:00
|
|
|
|
2019-03-06 22:57:50 +00:00
|
|
|
buildInputs = [ texinfo allegro perl libX11 ];
|
2010-11-27 19:38:34 +00:00
|
|
|
|
2015-12-30 10:58:06 +00:00
|
|
|
configurePhase = ''
|
2010-11-27 19:38:34 +00:00
|
|
|
sh fix.sh unix
|
2015-12-30 10:58:06 +00:00
|
|
|
'';
|
2010-11-27 19:38:34 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-10 22:49:59 +00:00
|
|
|
|
2015-12-30 10:58:06 +00:00
|
|
|
makeFlags = [ "SYSTEM_DIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-11-27 19:38:34 +00:00
|
|
|
description = "A multiplatform basic GUI library";
|
2015-12-30 10:58:06 +00:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2020-06-27 00:15:25 +01:00
|
|
|
license = licenses.free;
|
2010-11-27 19:38:34 +00:00
|
|
|
};
|
2015-12-30 10:58:06 +00:00
|
|
|
}
|