1 { lib, stdenv, fetchurl, texinfo6_5, libXext, xorgproto, libX11
2 , libXpm, libXt, libXcursor, alsa-lib, cmake, zlib, libpng, libvorbis
3 , libXxf86dga, libXxf86misc
4 , libXxf86vm, openal, libGLU, libGL }:
6 stdenv.mkDerivation rec {
11 url = "https://github.com/liballeg/allegro5/releases/download/${version}/${pname}-${version}.tar.gz";
12 sha256 = "1m6lz35nk07dli26kkwz3wa50jsrxs1kb6w1nj14a911l34xn6gc";
16 ./nix-unstable-sandbox-fix.patch
20 nativeBuildInputs = [ cmake ];
22 texinfo6_5 libXext xorgproto libX11 libXpm libXt libXcursor
23 alsa-lib zlib libpng libvorbis libXxf86dga libXxf86misc
24 libXxf86vm openal libGLU libGL
27 hardeningDisable = [ "format" ];
29 cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
32 description = "A game programming library";
33 homepage = "https://liballeg.org/";
34 license = licenses.free; # giftware
35 maintainers = [ maintainers.raskin ];
36 platforms = platforms.linux;