2020-02-24 22:11:50 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2018-01-11 11:11:10 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, qmake
|
|
|
|
, qtbase
|
|
|
|
, qtmultimedia
|
2023-07-29 12:57:50 +02:00
|
|
|
, qttools
|
2018-01-11 11:11:10 +01:00
|
|
|
}:
|
2017-06-25 12:29:18 +02:00
|
|
|
|
2020-02-24 22:11:50 +01:00
|
|
|
mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "qgo";
|
2018-01-11 11:11:10 +01:00
|
|
|
version = "unstable-2017-12-18";
|
2017-06-25 12:29:18 +02:00
|
|
|
|
2020-02-24 22:11:50 +01:00
|
|
|
meta = with lib; {
|
2017-06-25 12:29:18 +02:00
|
|
|
description = "Go client based on Qt5";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "qgo";
|
2017-06-25 12:29:18 +02:00
|
|
|
longDescription = ''
|
|
|
|
qGo is a Go Client based on Qt 5. It supports playing online at
|
|
|
|
IGS-compatible servers (including some special tweaks for WING and LGS,
|
|
|
|
also NNGS was reported to work) and locally against gnugo (or other
|
|
|
|
GTP-compliant engines). It also has rudimentary support for editing SGF
|
|
|
|
files and parital support for CyberORO/WBaduk, Tygem, Tom, and eWeiqi
|
|
|
|
(developers of these backends are currently inactive, everybody is welcome
|
|
|
|
to take them over).
|
|
|
|
|
|
|
|
Go is an ancient Chinese board game. It's called "圍棋(Wei Qi)" in
|
|
|
|
Chinese, "囲碁(Yi Go)" in Japanese, "바둑(Baduk)" in Korean.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/pzorin/qgo";
|
2024-07-03 11:37:36 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2017-06-25 12:29:18 +02:00
|
|
|
maintainers = with maintainers; [ zalakain ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pzorin";
|
|
|
|
repo = "qgo";
|
2018-01-11 11:11:10 +01:00
|
|
|
rev = "bef526dda4c79686edd95c88cc68de24f716703c";
|
2017-06-25 12:29:18 +02:00
|
|
|
sha256 = "1xzkayclmhsi07p9mnbf8185jw8n5ikxp2mik3x8qz1i6rmrfl5b";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./fix-paths.patch ];
|
|
|
|
postPatch = ''
|
|
|
|
sed -i 's|@out@|'"''${out}"'|g' src/src.pro src/defines.h
|
|
|
|
'';
|
2023-07-29 12:57:50 +02:00
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [ qtbase qtmultimedia ];
|
2017-06-25 12:29:18 +02:00
|
|
|
}
|