nixpkgs/pkgs/development/libraries/allegro/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.0 KiB
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchurl, texinfo6_5, libXext, xorgproto, libX11
, libXpm, libXt, libXcursor, alsa-lib, cmake, zlib, libpng, libvorbis
, libXxf86dga, libXxf86misc
2019-11-10 16:44:34 +00:00
, libXxf86vm, openal, libGLU, libGL }:
stdenv.mkDerivation rec {
pname = "allegro";
version="4.4.3.1";
src = fetchurl {
url = "https://github.com/liballeg/allegro5/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "1m6lz35nk07dli26kkwz3wa50jsrxs1kb6w1nj14a911l34xn6gc";
};
2014-07-01 08:41:07 +00:00
patches = [
./nix-unstable-sandbox-fix.patch
./encoding.patch
];
nativeBuildInputs = [ cmake ];
buildInputs = [
2020-09-08 08:03:27 +00:00
texinfo6_5 libXext xorgproto libX11 libXpm libXt libXcursor
alsa-lib zlib libpng libvorbis libXxf86dga libXxf86misc
2019-11-10 16:44:34 +00:00
libXxf86vm openal libGLU libGL
];
hardeningDisable = [ "format" ];
2016-02-08 09:52:09 +00:00
cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
meta = with lib; {
description = "Game programming library";
homepage = "https://liballeg.org/";
license = licenses.giftware;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}