1 { lib, stdenv, autoreconfHook, pkg-config, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub, python3 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "fabiangreffrath";
10 rev = "${pname}-${version}";
11 sha256 = "sha256-2Sjl9XO01ko0BwbFQSFv9mNoetyMa8Dxx17y0JmlLS0=";
15 sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
16 for script in $(grep -lr '^#!/usr/bin/env python3$'); do patchShebangs $script; done
19 nativeBuildInputs = [ autoreconfHook pkg-config python3 ];
20 buildInputs = [ SDL2 SDL2_mixer SDL2_net ];
21 enableParallelBuilding = true;
26 homepage = "http://fabiangreffrath.github.io/crispy-doom";
27 description = "A limit-removing enhanced-resolution Doom source port based on Chocolate Doom";
29 Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom.
30 Its name means that 640x400 looks \"crisp\" and is also a slight reference to its origin.
32 license = lib.licenses.gpl2Plus;
33 platforms = lib.platforms.unix;
34 maintainers = with lib.maintainers; [ neonfuz ];