Skip to content

Commit

Permalink
gzdoom: 4.7.1 -> 4.8.2
Browse files Browse the repository at this point in the history
Fixes: #189159
  • Loading branch information
azahi committed Sep 1, 2022
1 parent cc5f7c2 commit c648a1d
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions pkgs/games/gzdoom/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, openal, fluidsynth
, soundfont-fluid, libGL, SDL2, bzip2, zlib, libjpeg, libsndfile, mpg123
, soundfont-fluid, libGL, SDL2, bzip2, zlib, libjpeg, libsndfile, libvpx, mpg123
, game-music-emu, pkg-config, copyDesktopItems, makeDesktopItem }:

let
zmusic-src = fetchFromGitHub {
owner = "coelckers";
repo = "zmusic";
rev = "bff02053bea30bd789e45f60b90db3ffc69c8cc8";
sha256 = "0vpr79gpdbhslg5qxyd1qxlv5akgli26skm1vb94yd8v69ymdcy2";
};
zmusic = stdenv.mkDerivation {
zmusic = stdenv.mkDerivation rec {
pname = "zmusic";
version = "1.1.3";

src = zmusic-src;
src = fetchFromGitHub {
owner = "ZDoom";
repo = "ZMusic";
rev = version;
hash = "sha256-wrNWfTIbNU/S2qFObUSkb6qyaceh+Y7Loxqudl86+W4=";
};

nativeBuildInputs = [ cmake pkg-config ];

Expand All @@ -23,18 +22,17 @@ let
-e "s@FluidR3_GM.sf2@FluidR3_GM2-2.sf2@g" \
source/mididevices/music_fluidsynth_mididevice.cpp
'';

};

gzdoom = stdenv.mkDerivation rec {
pname = "gzdoom";
version = "4.7.1";
version = "4.8.2";

src = fetchFromGitHub {
owner = "coelckers";
owner = "ZDoom";
repo = "gzdoom";
rev = "g${version}";
sha256 = "sha256-3wO83RgxzeJnoxykKQxb1S1GA6QZlhZMw6GrV3YEm/0=";
hash = "sha256-aT7DUZih3EDqncaXYIPIyGsz4fI267N29PmN3qyVjyo=";
fetchSubmodules = true;
};

Expand All @@ -48,6 +46,7 @@ let
zlib
libjpeg
libsndfile
libvpx
mpg123
game-music-emu
zmusic
Expand Down Expand Up @@ -84,13 +83,11 @@ let
'';

meta = with lib; {
homepage = "https://github.com/coelckers/gzdoom";
description =
"A Doom source port based on ZDoom. It features an OpenGL renderer and lots of new features";
license = licenses.gpl3;
homepage = "https://github.com/ZDoom/gzdoom";
description = "A Doom source port based on ZDoom. It features an OpenGL renderer and lots of new features";
license = licenses.gpl3Plus;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ lassulus ];
maintainers = with maintainers; [ azahi lassulus ];
};
};

in gzdoom

0 comments on commit c648a1d

Please sign in to comment.