Commit 3c24501e authored by Jan Tojnar's avatar Jan Tojnar
Browse files

gtetrinet: Remove

It has hard dependency on derelict libgnome.
parent 82c87b3a
Loading
Loading
Loading
Loading

pkgs/games/gtetrinet/default.nix

deleted100644 → 0
+0 −46
Original line number Diff line number Diff line
{ fetchFromGitHub, lib, stdenv, autoreconfHook, intltool, pkg-config, libgnome, libgnomeui, GConf }:

stdenv.mkDerivation {
  pname = "gtetrinet";
  version = "0.7.11";

  src = fetchFromGitHub {
    owner = "GNOME";
    repo = "gtetrinet";
    rev = "6be3df83f3dc5c7cb966e6cd447182df01b93222";
    sha256 = "1y05x8lfyxvkjg6c87cfd0xxmb22c88scx8fq3gah7hjy5i42v93";
  };

  nativeBuildInputs = [ autoreconfHook intltool pkg-config ];

  buildInputs = [ libgnome libgnomeui ];

  propagatedUserEnvPkgs = [ GConf ];

  postAutoreconf = ''
    intltoolize --force
  '';

  preInstall = ''
    export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  '';

  postInstall = ''
    mv "$out/games" "$out/bin"
  '';

  enableParallelBuilding = true;

  meta = {
    description = "Client for Tetrinet, a multiplayer online Tetris game";
    mainProgram = "gtetrinet";
    longDescription = ''
      GTetrinet is a client program for Tetrinet, a multiplayer tetris game
      that is played over the internet.
    '';
    homepage = "https://gtetrinet.sourceforge.net/";
    license = lib.licenses.gpl2;
    platforms = lib.platforms.unix;
    maintainers = [ lib.maintainers.chris-martin ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -563,6 +563,7 @@ mapAliases ({
  gr-rds = throw "'gr-rds' has been renamed to/replaced by 'gnuradio3_7.pkgs.rds'"; # Converted to throw 2023-09-10
  grub2_full = grub2; # Added 2022-11-18
  grub = throw "grub1 was removed after not being maintained upstream for a decade. Please switch to another bootloader"; # Added 2023-04-11
  gtetrinet = throw "'gtetrinet' has been removed because it depends on GNOME 2 libraries"; # Added 2024-06-27
  gtkcord4 = dissent; # Added 2024-03-10
  gtkpod = throw "'gtkpod' was removed due to one of its dependencies, 'anjuta' being unmaintained"; # Added 2024-01-16
  guardian-agent = throw "'guardian-agent' has been removed, as it hasn't been maintained upstream in years and accumulated many vulnerabilities"; # Added 2024-06-09
+0 −4
Original line number Diff line number Diff line
@@ -36568,10 +36568,6 @@ with pkgs;
  graphwar = callPackage ../games/graphwar { };
  gtetrinet = callPackage ../games/gtetrinet {
    inherit (gnome2) GConf libgnome libgnomeui;
  };
  gtypist = callPackage ../games/gtypist { };
  gweled = callPackage ../games/gweled { };