1 { lib, mkDerivation, appstream, fetchFromGitHub, cmake, gettext, libxslt, librsvg, itstool
2 , qtbase, qtquickcontrols2, qtsvg, qttools, qtwebview, docbook_xsl
9 src = fetchFromGitHub {
13 sha256 = "sha256-DQM3IJ0pRkX4OsrjZGROg50LfKb621UnpvtqSjxchz8=";
16 nativeBuildInputs = [ cmake docbook_xsl qttools ];
17 buildInputs = [ appstream qtbase qtsvg qtquickcontrols2 qtwebview itstool librsvg ];
20 substituteInPlace pentobi_thumbnailer/CMakeLists.txt --replace "/manpages" "/share/xml/docbook-xsl/manpages/"
21 substituteInPlace pentobi/unix/CMakeLists.txt --replace "/manpages" "/share/xml/docbook-xsl/manpages/"
22 substituteInPlace pentobi/docbook/CMakeLists.txt --replace "/html" "/share/xml/docbook-xsl/html"
26 "-DCMAKE_VERBOSE_MAKEFILE=1"
27 "-DDOCBOOKXSL_DIR=${docbook_xsl}"
28 "-DMETAINFO_ITS=${appstream}/share/gettext/its/metainfo.its"
32 description = "Computer opponent for the board game Blokus";
33 homepage = "https://pentobi.sourceforge.io";
34 license = licenses.gpl3Plus;
36 platforms = platforms.linux;