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