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";
13 # this fixes a typedef compilation error with gcc-3.x
14 ./fix-compilation.patch
15 # removes register keyword
19 buildInputs = [ SDL2 SDL2_net ];
23 ln -s $out/games/Maelstrom/Maelstrom $out/bin/maelstrom
30 desktopName = "Maelstrom";
31 genericName = "Maelstrom";
32 comment = "An arcade-style game resembling Asteroids";
33 categories = [ "Game" ];
38 description = "Arcade-style game resembling Asteroids";
39 mainProgram = "maelstrom";
40 license = licenses.gpl2Plus;
41 platforms = platforms.all;
42 maintainers = with maintainers; [ tmountain ];