From 2038ac39f5f09726d9a670f8af74fd150135bc42 Mon Sep 17 00:00:00 2001 From: Sage Date: Wed, 8 Aug 2018 00:34:32 -0700 Subject: [PATCH] crispy-doom: init at 5.2 (#44536) crispy-doom: init at 5.2 --- pkgs/games/crispy-doom/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/games/crispy-doom/default.nix diff --git a/pkgs/games/crispy-doom/default.nix b/pkgs/games/crispy-doom/default.nix new file mode 100644 index 000000000000..3c4744ebe1ad --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1340020d5b9c..7d1d73249c38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19521,6 +19521,8 @@ with pkgs; chocolateDoom = callPackage ../games/chocolate-doom { }; + crispyDoom = callPackage ../games/crispy-doom { }; + ckan = callPackage ../games/ckan { }; cockatrice = libsForQt5.callPackage ../games/cockatrice { };