Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warmux: 11.04.1 -> unstable-2017-10-20 #48277

Merged
merged 1 commit into from
Oct 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
39 changes: 20 additions & 19 deletions pkgs/games/warmux/default.nix
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
{ stdenv, fetchurl
{ stdenv, fetchFromGitHub, autoconf, automake
, zlib, curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
, SDL_net, SDL_ttf, libunwind, libX11, xproto, libxml2, pkgconfig
, gettext, intltool, libtool, perl
}:

stdenv.mkDerivation rec {
name = "warmux-${version}";
version = "11.04.1";
version = "unstable-2017-10-20";

src = fetchurl {
url = "http://download.gna.org/warmux/${name}.tar.bz2";
sha256 = "1vp44wdpnb1g6cddmn3nphc543pxsdhjis52mfif0p2c7qslz73q";
src = fetchFromGitHub {
owner = "fluxer";
repo = "warmux";
rev = "8f81d4fc309a548ae89a068c2dde27b7e7ef8851";
sha256 = "1hvzglsmp75xiqqb0k75qjz4jwi8kl3fhn8zfsz53hhhqmbw6wkr";
};

buildInputs =
[ zlib curl gnutls fribidi libpng SDL SDL_gfx SDL_image SDL_mixer
SDL_net SDL_ttf libunwind libX11 xproto libxml2 pkgconfig
gettext intltool libtool perl
];

preConfigure = "patchShebangs autogen.sh && ./autogen.sh";
configureFlagsArray = ("CFLAGS=-include ${zlib.dev}/include/zlib.h");

patches = [ ./gcc-fix.patch ];
nativeBuildInputs = [
autoconf automake gettext intltool libtool pkgconfig
];
buildInputs = [
zlib curl gnutls fribidi libpng SDL SDL_gfx SDL_image SDL_mixer
SDL_net SDL_ttf libunwind libX11 xproto libxml2 perl
];
enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Ballistics turn-based battle game between teams";
maintainers = with maintainers;
[
raskin
];
description = "Ballistics turn-based battle game between teams - unofficial copy";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
license = licenses.gpl2;
downloadPage = "http://download.gna.org/warmux/";
license = with licenses; [ gpl2 ufl ];
homepage = https://github.com/fluxer/warmux;
};
}
51 changes: 0 additions & 51 deletions pkgs/games/warmux/gcc-fix.patch

This file was deleted.