diff --git a/pkgs/games/hexen/default.nix b/pkgs/games/hexen/default.nix new file mode 100644 index 000000000000..c97ba4d5bf4e --- /dev/null +++ b/pkgs/games/hexen/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, SDL} : + +stdenv.mkDerivation { + name = "hexen-0.2.3"; + src = fetchurl { + url = http://www.libsdl.org/projects/hexen/src/hexen-0.2.3.tar.gz; + sha256 = "c1433e930f2003c5f817f935406bb28ba15298a15b1c11f83f42df3e9f1f3bc4"; + }; + + buildInputs = [ SDL ]; + + meta = { + homepage = http://www.libsdl.org/projects/hexen/; + description = "Port of Raven Software's popular Hexen 3-D shooter game"; + license = "free"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 819b4a2d237c..b56b7d61da5b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9366,6 +9366,10 @@ let flex = flex2535; }; + hexen = import ../games/hexen { + inherit stdenv fetchurl SDL; + }; + kobodeluxe = import ../games/kobodeluxe { inherit stdenv fetchurl SDL SDL_image; };