depot/third_party/nixpkgs/pkgs/by-name/ds/dsda-doom/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

56 lines
979 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
SDL2,
SDL2_mixer,
SDL2_image,
fluidsynth,
portmidi,
dumb,
libvorbis,
libmad,
libGLU,
libzip,
alsa-lib,
}:
stdenv.mkDerivation rec {
pname = "dsda-doom";
version = "0.28.1";
src = fetchFromGitHub {
owner = "kraflab";
repo = "dsda-doom";
rev = "v${version}";
hash = "sha256-X2v9eKiIYX4Zi3C1hbUoW4mceRVa6sxpBsP4Npyo4hM=";
};
sourceRoot = "${src.name}/prboom2";
nativeBuildInputs = [ cmake ];
buildInputs = [
alsa-lib
dumb
fluidsynth
libGLU
libmad
libvorbis
libzip
portmidi
SDL2
SDL2_image
SDL2_mixer
];
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 = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ Gliczy ];
};
}