2010-07-01 10:08:37 +01:00
|
|
|
{stdenv, fetchurl, SDL, mesa, erlang}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-20 14:35:45 +00:00
|
|
|
name = "esdl-1.0.1";
|
2010-07-01 10:08:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/esdl/${name}.src.tar.gz";
|
2013-12-20 14:35:45 +00:00
|
|
|
sha256 = "0zc7cmr44v10sb593dismdm5qc2v7sm3z9yh22g4r9g6asbg5z0n";
|
2010-07-01 10:08:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ erlang ];
|
|
|
|
propagatedBuildInputs = [ SDL mesa ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
export makeFlags="INSTALLDIR=$out/lib/erlang/addons/${name}";
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://esdl.sourceforge.net/;
|
|
|
|
description = "Erlang binding to SDL that includes a binding to OpenGL";
|
|
|
|
license = "BSD";
|
|
|
|
};
|
|
|
|
}
|