mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
dsda-doom: cleanup
This commit is contained in:
parent
e2cad22427
commit
4fd2c198e3
@ -1,18 +1,19 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, SDL2
|
||||
, SDL2_mixer
|
||||
, SDL2_image
|
||||
, fluidsynth
|
||||
, soundfont-fluid
|
||||
, portmidi
|
||||
, dumb
|
||||
, libvorbis
|
||||
, libmad
|
||||
, libGLU
|
||||
, libzip
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
SDL2,
|
||||
SDL2_mixer,
|
||||
SDL2_image,
|
||||
fluidsynth,
|
||||
portmidi,
|
||||
dumb,
|
||||
libvorbis,
|
||||
libmad,
|
||||
libGLU,
|
||||
libzip,
|
||||
alsa-lib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -28,36 +29,28 @@ stdenv.mkDerivation rec {
|
||||
|
||||
sourceRoot = "${src.name}/prboom2";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
SDL2_mixer
|
||||
SDL2_image
|
||||
fluidsynth
|
||||
portmidi
|
||||
alsa-lib
|
||||
dumb
|
||||
libvorbis
|
||||
libmad
|
||||
fluidsynth
|
||||
libGLU
|
||||
libmad
|
||||
libvorbis
|
||||
libzip
|
||||
portmidi
|
||||
SDL2
|
||||
SDL2_image
|
||||
SDL2_mixer
|
||||
];
|
||||
|
||||
# Fixes impure path to soundfont
|
||||
prePatch = ''
|
||||
substituteInPlace src/m_misc.c --replace \
|
||||
"/usr/share/sounds/sf3/default-GM.sf3" \
|
||||
"${soundfont-fluid}/share/soundfonts/FluidR3_GM2-2.sf2"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/kraflab/dsda-doom";
|
||||
description = "Advanced Doom source port with a focus on speedrunning, successor of PrBoom+";
|
||||
mainProgram = "dsda-doom";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.Gliczy ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ Gliczy ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user