1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/development/libraries/esdl/default.nix
Lluís Batlle i Rossell 5b4e3a5b40 Adding Wings 3D (as a side effect, update erlang, and add esdl).
svn path=/nixpkgs/trunk/; revision=22436
2010-07-01 09:08:37 +00:00

24 lines
561 B
Nix

{stdenv, fetchurl, SDL, mesa, erlang}:
stdenv.mkDerivation rec {
name = "esdl-1.0.1";
src = fetchurl {
url = "mirror://sourceforge/esdl/${name}.src.tar.gz";
sha256 = "0zc7cmr44v10sb593dismdm5qc2v7sm3z9yh22g4r9g6asbg5z0n";
};
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";
};
}