about summary refs log tree commit diff
path: root/pkgs/games/odamex
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2019-10-18 09:27:05 -0700
committerRenaud <c0bw3b@users.noreply.github.com>2019-10-18 18:27:05 +0200
commit2a0b29992a4e0a00e8d58b20be6f8dcfb50f15fa (patch)
tree0657ce33b79d73e24df961b7ae0ce6bd06b9bd6f /pkgs/games/odamex
parent9deca47b3320eae2b19bbea896770084e4e679cc (diff)
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
Diffstat (limited to 'pkgs/games/odamex')
-rw-r--r--pkgs/games/odamex/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/games/odamex/default.nix b/pkgs/games/odamex/default.nix
index 6c6bb9f78bab2..2afb259ea43e2 100644
--- a/pkgs/games/odamex/default.nix
+++ b/pkgs/games/odamex/default.nix
@@ -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;
   };
 }