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
84 lines
1.3 KiB
Nix
84 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoconf,
|
|
automake,
|
|
zlib,
|
|
curl,
|
|
gnutls,
|
|
fribidi,
|
|
libpng,
|
|
SDL,
|
|
SDL_gfx,
|
|
SDL_image,
|
|
SDL_mixer,
|
|
SDL_net,
|
|
SDL_ttf,
|
|
libunwind,
|
|
libX11,
|
|
xorgproto,
|
|
libxml2,
|
|
pkg-config,
|
|
gettext,
|
|
intltool,
|
|
libtool,
|
|
perl,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "warmux";
|
|
version = "unstable-2017-10-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fluxer";
|
|
repo = "warmux";
|
|
rev = "8f81d4fc309a548ae89a068c2dde27b7e7ef8851";
|
|
sha256 = "1hvzglsmp75xiqqb0k75qjz4jwi8kl3fhn8zfsz53hhhqmbw6wkr";
|
|
};
|
|
|
|
__structuredAttrs = true;
|
|
|
|
preConfigure = "patchShebangs autogen.sh && ./autogen.sh";
|
|
configureFlags = [ "CFLAGS=-include ${zlib.dev}/include/zlib.h" ];
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
automake
|
|
gettext
|
|
intltool
|
|
libtool
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
zlib
|
|
curl
|
|
gnutls
|
|
fribidi
|
|
libpng
|
|
SDL
|
|
SDL_gfx
|
|
SDL_image
|
|
SDL_mixer
|
|
SDL_net
|
|
SDL_ttf
|
|
libunwind
|
|
libX11
|
|
xorgproto
|
|
libxml2
|
|
perl
|
|
];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Ballistics turn-based battle game between teams - unofficial copy";
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
license = with licenses; [
|
|
gpl2Plus
|
|
ufl
|
|
];
|
|
homepage = "https://github.com/fluxer/warmux";
|
|
};
|
|
}
|