diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-01 14:28:22 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-02 22:35:27 -0300 |
commit | ef1164e4c61e244aea0267f0277a2ef8fa7f9261 (patch) | |
tree | f46b78776bba812b90b1ce7374219b9044dcf760 /pkgs/games/odamex | |
parent | d2151c5daef33ace70397e6af6189920cad626c4 (diff) | |
download | nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.tar nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.tar.gz nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.tar.bz2 nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.tar.lz nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.tar.xz nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.tar.zst nixpkgs-ef1164e4c61e244aea0267f0277a2ef8fa7f9261.zip |
odamex: move to games/doom-ports
Diffstat (limited to 'pkgs/games/odamex')
-rw-r--r-- | pkgs/games/odamex/default.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/pkgs/games/odamex/default.nix b/pkgs/games/odamex/default.nix deleted file mode 100644 index 5fc1b57be5d..00000000000 --- a/pkgs/games/odamex/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib -, stdenv -, fetchurl -, cmake -, pkg-config -, makeWrapper -, SDL -, SDL_mixer -, SDL_net -, wxGTK32 -}: - -stdenv.mkDerivation rec { - pname = "odamex"; - version = "0.9.5"; - - src = fetchurl { - url = "mirror://sourceforge/${pname}/${pname}-src-${version}.tar.bz2"; - sha256 = "sha256-WBqO5fWzemw1kYlY192v0nnZkbIEVuWmjWYMy+1ODPQ="; - }; - - nativeBuildInputs = [ - cmake - pkg-config - makeWrapper - ]; - - buildInputs = [ - SDL - SDL_mixer - SDL_net - wxGTK32 - ]; - - installPhase = '' - runHook preInstall - '' + (if stdenv.isDarwin then '' - mkdir -p $out/{Applications,bin} - mv odalaunch/odalaunch.app $out/Applications - makeWrapper $out/{Applications/odalaunch.app/Contents/MacOS,bin}/odalaunch - '' else '' - make install - '') + '' - runHook postInstall - ''; - - meta = { - homepage = "http://odamex.net/"; - description = "A client/server port for playing old-school Doom online"; - license = lib.licenses.gpl2Only; - platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ MP2E ]; - }; -} |