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