2019-10-18 18:27:05 +02:00
|
|
|
{ stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net, wxGTK30 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "odamex";
|
|
|
|
version = "0.8.1";
|
2014-10-29 13:05:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-10-18 18:27:05 +02:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-src-${version}.tar.bz2";
|
|
|
|
sha256 = "1dz0lqdx3vb62mylqddcdq3vxsl2mvv0w2xskvwgpg0p04fcic2c";
|
2014-10-29 13:05:44 +01:00
|
|
|
};
|
|
|
|
|
2019-10-18 18:27:05 +02:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ SDL SDL_mixer SDL_net wxGTK30 ];
|
2014-10-29 13:05:44 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
2019-10-18 18:27:05 +02:00
|
|
|
homepage = "http://odamex.net/";
|
2014-10-29 13:05:44 +01:00
|
|
|
description = "A client/server port for playing old-school Doom online";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2019-10-18 18:27:05 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-10-29 13:05:44 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
|
|
|
};
|
|
|
|
}
|