diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-01 12:46:45 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-02 22:35:27 -0300 |
commit | 164fc7d18db0d7c75e630bf9c3a1ce177f956455 (patch) | |
tree | e2fb5b11cd2ffee7d79963532b87bf3b3d9c5cdb /pkgs/games/chocolate-doom | |
parent | ba1400397513fb16d83211f8a61b6fdec6529fc2 (diff) | |
download | nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.tar nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.tar.gz nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.tar.bz2 nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.tar.lz nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.tar.xz nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.tar.zst nixpkgs-164fc7d18db0d7c75e630bf9c3a1ce177f956455.zip |
chocolateDoom: move to games/doom-ports
Diffstat (limited to 'pkgs/games/chocolate-doom')
-rw-r--r-- | pkgs/games/chocolate-doom/default.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/pkgs/games/chocolate-doom/default.nix b/pkgs/games/chocolate-doom/default.nix deleted file mode 100644 index 30fe2010b02..00000000000 --- a/pkgs/games/chocolate-doom/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib, stdenv, autoreconfHook, pkg-config, SDL2, SDL2_mixer, SDL2_net -, fetchFromGitHub, fetchpatch, python3 }: - -stdenv.mkDerivation rec { - pname = "chocolate-doom"; - version = "3.0.1"; - - src = fetchFromGitHub { - owner = "chocolate-doom"; - repo = pname; - rev = "${pname}-${version}"; - sha256 = "1zlcqhd49c5n8vaahgaqrc2y10z86xng51sbd82xm3rk2dly25jp"; - }; - - patches = [ - # Pull upstream patch to fix builx against gcc-10: - # https://github.com/chocolate-doom/chocolate-doom/pull/1257 - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/chocolate-doom/chocolate-doom/commit/a8fd4b1f563d24d4296c3e8225c8404e2724d4c2.patch"; - sha256 = "1dmbygn952sy5n8qqp0asg11pmygwgygl17lrj7i0fxa0nrhixhj"; - }) - ]; - - outputs = [ "out" "man" ]; - - postPatch = '' - sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am - patchShebangs --build man/{simplecpp,docgen} - ''; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - # for documentation - python3 - ]; - buildInputs = [ SDL2 SDL2_mixer SDL2_net ]; - enableParallelBuilding = true; - - meta = { - homepage = "http://chocolate-doom.org/"; - description = "A Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.unix; - hydraPlatforms = lib.platforms.linux; # darwin times out - maintainers = with lib.maintainers; [ MP2E ]; - }; -} |