diff options
author | Sage <neonfuz@gmail.com> | 2018-08-08 00:34:32 -0700 |
---|---|---|
committer | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-08-08 09:34:32 +0200 |
commit | 2038ac39f5f09726d9a670f8af74fd150135bc42 (patch) | |
tree | faf9cf858671b1f8a1b397e3dc25710b308bbe66 /pkgs/games/crispy-doom | |
parent | 1d4ee0a2efc3f51028031a2350050d17a6ec8917 (diff) | |
download | nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.tar nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.tar.gz nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.tar.bz2 nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.tar.lz nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.tar.xz nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.tar.zst nixpkgs-2038ac39f5f09726d9a670f8af74fd150135bc42.zip |
crispy-doom: init at 5.2 (#44536)
crispy-doom: init at 5.2
Diffstat (limited to 'pkgs/games/crispy-doom')
-rw-r--r-- | pkgs/games/crispy-doom/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/games/crispy-doom/default.nix b/pkgs/games/crispy-doom/default.nix new file mode 100644 index 00000000000..3c4744ebe1a --- /dev/null +++ b/pkgs/games/crispy-doom/default.nix @@ -0,0 +1,25 @@ +{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchurl }: + +stdenv.mkDerivation rec { + name = "crispy-doom-5.2"; + src = fetchurl { + url = "https://github.com/fabiangreffrath/crispy-doom/archive/${name}.tar.gz"; + sha256 = "0arj2pn66ygzdlws80irdhald9sj0wr7cbckfs69z34ij21zzfgz"; + }; + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ SDL2 SDL2_mixer SDL2_net ]; + patchPhase = '' + sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am + ''; + + enableParallelBuilding = true; + + meta = { + homepage = http://fabiangreffrath.github.io/crispy-doom; + description = "A limit-removing enhanced-resolution Doom source port based on Chocolate Doom"; + longDescription = "Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom. Its name means that 640x400 looks \"crisp\" and is also a slight reference to its origin."; + license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ neonfuz ]; + }; +} |