pentobi: 18.1 -> 18.3
* Rewrite without stdenv and wrapQtAppsHook * Fetch source from GithHub
This commit is contained in:
parent
8e375d71f0
commit
9290417300
|
@ -1,20 +1,20 @@
|
|||
{ stdenv, appstream, fetchurl, cmake, gettext, libxslt, librsvg, itstool
|
||||
, qtbase, qtquickcontrols2, qtsvg, qttools, qtwebview, docbook_xsl
|
||||
, wrapQtAppsHook
|
||||
{ lib, mkDerivation, appstream, fetchFromGitHub, cmake, gettext, libxslt, librsvg, itstool
|
||||
, qtbase, qtquickcontrols2, qtsvg, qttools, qtwebview, docbook_xsl
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
version = "18.1";
|
||||
mkDerivation rec {
|
||||
version = "18.3";
|
||||
pname = "pentobi";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pentobi/${pname}-${version}.tar.xz";
|
||||
sha256 = "1vfw61lk9z7dngncmx3fggy5ld7ksdk48dpwnsq2vl5fh3f71qbq";
|
||||
src = fetchFromGitHub {
|
||||
owner = "enz";
|
||||
repo = "pentobi";
|
||||
rev = "v${version}";
|
||||
sha256 = "9AymvAlXi0zkkcakTR0mC4gmyrweZR4EwlhORkmVshw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake docbook_xsl wrapQtAppsHook ];
|
||||
buildInputs = [ appstream qtbase qtsvg qtquickcontrols2 qttools qtwebview itstool librsvg ];
|
||||
nativeBuildInputs = [ cmake docbook_xsl qttools ];
|
||||
buildInputs = [ appstream qtbase qtsvg qtquickcontrols2 qtwebview itstool librsvg ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace pentobi_thumbnailer/CMakeLists.txt --replace "/manpages" "/share/xml/docbook-xsl/manpages/"
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
"-DMETAINFO_ITS=${appstream}/share/gettext/its/metainfo.its"
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A computer opponent for the board game Blokus";
|
||||
homepage = "https://pentobi.sourceforge.io";
|
||||
license = licenses.gpl3;
|
||||
|
|
|
@ -25601,7 +25601,7 @@ in
|
|||
|
||||
papermc = callPackage ../games/papermc { };
|
||||
|
||||
pentobi = libsForQt514.callPackage ../games/pentobi { };
|
||||
pentobi = libsForQt5.callPackage ../games/pentobi { };
|
||||
|
||||
performous = callPackage ../games/performous {
|
||||
boost = boost166;
|
||||
|
|
Loading…
Reference in New Issue