1 { lib, stdenv, fetchurl, makeDesktopItem, SDL2, SDL2_net }:
3 stdenv.mkDerivation rec {
8 url = "http://www.libsdl.org/projects/Maelstrom/src/Maelstrom-${version}.tar.gz";
9 sha256 = "0dm0m5wd7amrsa8wnrblkv34sq4v4lglc2wfx8klfkdhyhi06s4k";
12 # this fixes a typedef compilation error with gcc-3.x
13 patches = [ ./fix-compilation.patch ];
15 buildInputs = [ SDL2 SDL2_net ];
19 ln -s $out/games/Maelstrom/Maelstrom $out/bin/maelstrom
26 desktopName = "Maelstrom";
27 genericName = "Maelstrom";
28 comment = "An arcade-style game resembling Asteroids";
29 categories = [ "Game" ];
34 description = "An arcade-style game resembling Asteroids";
35 license = licenses.gpl2Plus;
36 platforms = platforms.all;
37 maintainers = with maintainers; [ tmountain ];