nixpkgs/pkgs/games/warmux/default.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, automake
2015-07-14 09:01:01 +00:00
, zlib, curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
, SDL_net, SDL_ttf, libunwind, libX11, xorgproto, libxml2, pkg-config
2015-07-14 09:01:01 +00:00
, gettext, intltool, libtool, perl
}:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "warmux";
version = "unstable-2017-10-20";
src = fetchFromGitHub {
owner = "fluxer";
repo = "warmux";
rev = "8f81d4fc309a548ae89a068c2dde27b7e7ef8851";
sha256 = "1hvzglsmp75xiqqb0k75qjz4jwi8kl3fhn8zfsz53hhhqmbw6wkr";
2015-07-14 09:01:01 +00:00
};
__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;
2013-12-20 14:57:22 +00:00
meta = with lib; {
description = "Ballistics turn-based battle game between teams - unofficial copy";
maintainers = with maintainers; [ raskin ];
2015-07-14 09:01:01 +00:00
platforms = platforms.linux;
2024-07-03 09:37:36 +00:00
license = with licenses; [ gpl2Plus ufl ];
homepage = "https://github.com/fluxer/warmux";
};
2015-07-14 09:01:01 +00:00
}