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

37 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, texinfo, libXext, xextproto, libX11, xproto
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
, libXxf86dga, libXxf86misc, xf86dgaproto, xf86miscproto
, xf86vidmodeproto, libXxf86vm, openal, libGLU_combined }:
stdenv.mkDerivation rec {
name = "allegro-${version}";
version="4.4.2";
src = fetchurl {
url = "http://download.gna.org/allegro/allegro/${version}/${name}.tar.gz";
sha256 = "1p0ghkmpc4kwij1z9rzxfv7adnpy4ayi0ifahlns1bdzgmbyf88v";
};
2014-07-01 10:41:07 +02:00
patches = [
./nix-unstable-sandbox-fix.patch
];
buildInputs = [
texinfo libXext xextproto libX11 xproto libXpm libXt libXcursor
alsaLib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
xf86dgaproto xf86miscproto xf86vidmodeproto libXxf86vm openal libGLU_combined
];
hardeningDisable = [ "format" ];
2016-02-08 10:52:09 +01:00
cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
meta = with stdenv.lib; {
description = "A game programming library";
2018-06-23 13:34:55 +02:00
homepage = https://liballeg.org/;
license = licenses.free; # giftware
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}