summary refs log tree commit diff
path: root/pkgs/games/odamex/default.nix
blob: ab2cd1090fb415602ef1e023e89fe8745dc631d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net }:

stdenv.mkDerivation rec {
  name = "odamex-0.7.0";
  src = fetchurl {
    url = mirror://sourceforge/odamex/odamex-src-0.7.0.tar.bz2;
    sha256 = "0cb6p58yv55kdyfj7s9n9xcwpvxrj8nyc6brw9jvwlc5n4y3cd5a";
  };

  buildInputs = [ cmake pkgconfig SDL SDL_mixer SDL_net ];

  enableParallelBuilding = true;

  meta = {
    homepage = http://odamex.net/;
    description = "A client/server port for playing old-school Doom online";
    license = stdenv.lib.licenses.gpl2;
    platforms = stdenv.lib.platforms.unix;
    maintainers = with stdenv.lib.maintainers; [ MP2E ];
  };
}