Commit 9bfcba60 authored by Grimmauld's avatar Grimmauld
Browse files

pentobi: drop

Qt6 versions exist, but the package is unmaintained and the update is not quite trivial.
parent 6fdf9178
Loading
Loading
Loading
Loading
+0 −59
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  qt5,
  appstream,
  fetchFromGitHub,
  cmake,
  librsvg,
  itstool,
  docbook_xsl,
}:

stdenv.mkDerivation rec {
  version = "20.0";
  pname = "pentobi";

  src = fetchFromGitHub {
    owner = "enz";
    repo = "pentobi";
    rev = "v${version}";
    sha256 = "sha256-DQM3IJ0pRkX4OsrjZGROg50LfKb621UnpvtqSjxchz8=";
  };

  nativeBuildInputs = [
    cmake
    docbook_xsl
    qt5.qttools
    qt5.wrapQtAppsHook
  ];
  buildInputs = [
    appstream
    qt5.qtbase
    qt5.qtsvg
    qt5.qtquickcontrols2
    qt5.qtwebview
    itstool
    librsvg
  ];

  patchPhase = ''
    substituteInPlace pentobi_thumbnailer/CMakeLists.txt --replace "/manpages" "/share/xml/docbook-xsl/manpages/"
    substituteInPlace pentobi/unix/CMakeLists.txt --replace "/manpages" "/share/xml/docbook-xsl/manpages/"
    substituteInPlace pentobi/docbook/CMakeLists.txt --replace "/html" "/share/xml/docbook-xsl/html"
  '';

  cmakeFlags = [
    "-DCMAKE_VERBOSE_MAKEFILE=1"
    "-DDOCBOOKXSL_DIR=${docbook_xsl}"
    "-DMETAINFO_ITS=${appstream}/share/gettext/its/metainfo.its"
  ];

  meta = {
    description = "Computer opponent for the board game Blokus";
    homepage = "https://pentobi.sourceforge.io";
    license = lib.licenses.gpl3Plus;
    maintainers = [ ];
    platforms = lib.platforms.linux;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1603,6 +1603,7 @@ mapAliases {
  peach = throw "'peach' has been renamed to/replaced by 'asouldocs'"; # Converted to throw 2025-10-27
  pell = throw "'pell' has been removed as it is unused and unmaintained upstream"; # Added 2025-12-18
  pentablet-driver = throw "'pentablet-driver' has been renamed to/replaced by 'xp-pen-g430-driver'"; # Converted to throw 2025-10-27
  pentobi = throw "'pentobi' has been removed as it was unmaintained in nixpkgs and still depended on qt5 webengine"; # Added 2026-04-25
  perceptual-diff = throw "perceptual-diff was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23
  percona-server_8_0 = throw "'percona-server_8_0' reaches end of life on 2026-04-30 and has been removed. Use 'percona-server_8_4'"; # Added 2026-04-09
  percona-server_innovation = throw "'percona-server_innovation' has been renamed to/replaced by 'percona-server'"; # Converted to throw 2025-10-27