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