2015-12-30 11:58:06 +01:00
|
|
|
{ stdenv, fetchurl, texinfo, allegro, perl }:
|
2010-11-27 20:38:34 +01:00
|
|
|
|
2015-12-30 11:58:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cgui-${version}";
|
|
|
|
version="2.0.3";
|
2010-11-27 20:38:34 +01:00
|
|
|
|
2015-12-30 11:58:06 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/cgui/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "00kk4xaw68m44awy8zq4g5plx372swwccvzshn68a0a8f3f2wi4x";
|
|
|
|
};
|
2010-11-27 20:38:34 +01:00
|
|
|
|
2015-12-30 11:58:06 +01:00
|
|
|
buildInputs = [ texinfo allegro perl ];
|
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
|
|
|
}
|