odamex: 0.7.0 -> 0.8.1 (#69718)

* odamex: 0.7.0 -> 0.8.1

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/odamex/versions

* odamex: revamp

+ use pname and version
+ not broken anymore
+ restrict to Linux (never built on Darwin)
+ add wxGTK to build odalaunch client
This commit is contained in:
R. RyanTM 2019-10-18 09:27:05 -07:00 committed by Renaud
parent 9deca47b33
commit 2a0b29992a

View file

@ -1,23 +1,24 @@
{ stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net }:
{ stdenv, cmake, fetchurl, pkgconfig, SDL, SDL_mixer, SDL_net, wxGTK30 }:
stdenv.mkDerivation rec {
pname = "odamex";
version = "0.8.1";
stdenv.mkDerivation {
name = "odamex-0.7.0";
src = fetchurl {
url = mirror://sourceforge/odamex/odamex-src-0.7.0.tar.bz2;
sha256 = "0cb6p58yv55kdyfj7s9n9xcwpvxrj8nyc6brw9jvwlc5n4y3cd5a";
url = "mirror://sourceforge/${pname}/${pname}-src-${version}.tar.bz2";
sha256 = "1dz0lqdx3vb62mylqddcdq3vxsl2mvv0w2xskvwgpg0p04fcic2c";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake SDL SDL_mixer SDL_net ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ SDL SDL_mixer SDL_net wxGTK30 ];
enableParallelBuilding = true;
meta = {
homepage = http://odamex.net/;
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;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ MP2E ];
broken = true;
};
}