Unverified Commit 988ee7d5 authored by dish's avatar dish
Browse files

gnubik: drop

it is unmaintained and depends on GTK 2 which has been unmaintained for
a while
parent 75734a40
Loading
Loading
Loading
Loading
+0 −65
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  pkg-config,
  guile_2_0,
  gettext,
  gtk2-x11,
  libGL,
  libGLU,
  gtk2,
  gnome2,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "gnubik";
  version = "2.4.3";

  src = fetchurl {
    url = "https://ftp.gnu.org/gnu/gnubik/gnubik-${finalAttrs.version}.tar.gz";
    hash = "sha256-Kz7Tb7W6nuyA/Yb5Tqu+hmUG9P4ZSKnXSA8iXIlIju4=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    pkg-config
    guile_2_0
    gettext
    gtk2-x11
  ];

  buildInputs = [
    libGL
    libGLU
    guile_2_0
    gtk2
    gnome2.gtkglext
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "3D Rubik's cube game";
    longDescription = ''
      The Gnubik program is an interactive, graphical, single player
      puzzle. Yes, this is another implementation of the classic game
      like that invented by Erno Rubik. You have to manipulate the
      cube using the mouse. When each face shows only one colour, the
      game is solved.

      Gnubik is written in C and Guile. The latter allows you to
      extend the program using the Scheme language — a simple
      programming tool which even novice computer users can use. For
      example, you can use Scheme to write your own automated solving
      routines or to create patterns.
    '';
    homepage = "https://www.gnu.org/software/gnubik";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ yiyu ];
    mainProgram = "gnubik";
    platforms = lib.platforms.all;
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -1074,6 +1074,7 @@ mapAliases {
  gmock = throw "'gmock' has been renamed to/replaced by 'gtest'"; # Converted to throw 2024-10-17

  gnome3 = throw "'gnome3' has been renamed to/replaced by 'gnome'"; # Converted to throw 2024-10-17
  gnubik = throw "'gnubik' has been removed due to lack of maintainance upstream and its dependency on GTK 2"; # Added 2025-09-16
  gnufdisk = throw "'gnufdisk' has been removed due to lack of maintenance upstream"; # Added 2024-12-31
  gnuradio3_9 = throw "gnuradio3_9 has been removed because it is not compatible with the latest volk and it had no dependent packages which justified its distribution"; # Added 2024-07-28
  gnuradio3_9Minimal = throw "gnuradio3_9Minimal has been removed because it is not compatible with the latest volk and it had no dependent packages which justified its distribution"; # Added 2024-07-28