Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

79 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchurl,
texinfo,
libXext,
xorgproto,
libX11,
libXpm,
libXt,
libXcursor,
alsa-lib,
cmake,
pkg-config,
zlib,
libpng,
libvorbis,
libXxf86dga,
libXxf86misc,
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}/allegro-${version}.tar.gz";
sha256 = "1m6lz35nk07dli26kkwz3wa50jsrxs1kb6w1nj14a911l34xn6gc";
};
patches = [
./nix-unstable-sandbox-fix.patch
./encoding.patch
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
texinfo
libXext
xorgproto
libX11
libXpm
libXt
libXcursor
alsa-lib
zlib
libpng
libvorbis
libXxf86dga
libXxf86misc
libXxf86vm
openal
libGLU
libGL
];
hardeningDisable = [ "format" ];
cmakeFlags = [
"-DCMAKE_SKIP_RPATH=ON"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
meta = with lib; {
description = "Game programming library";
homepage = "https://liballeg.org/";
license = licenses.giftware;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}