2022-06-10 04:09:18 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-06-12 12:11:40 +02:00
|
|
|
|
2022-06-10 04:09:18 +02:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2018-06-12 12:11:40 +02:00
|
|
|
pname = "gshogi";
|
|
|
|
version = "0.5.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johncheetham";
|
|
|
|
repo = "gshogi";
|
|
|
|
rev = "v${version}";
|
2022-06-10 04:09:18 +02:00
|
|
|
hash = "sha256-EPOIYPSFAhilxuZeYfuZ4Cd29ReJs/E4KNF5/lyzbxs=";
|
2018-06-12 12:11:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # no tests available
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
2023-06-22 13:49:31 +02:00
|
|
|
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
|
2018-06-12 12:11:40 +02:00
|
|
|
|
2022-06-10 04:09:18 +02:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2018-06-12 12:11:40 +02:00
|
|
|
pygobject3
|
|
|
|
pycairo
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://johncheetham.com/projects/gshogi/";
|
2022-06-10 04:09:18 +02:00
|
|
|
description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
|
|
|
|
license = licenses.gpl3Plus;
|
2018-06-12 12:11:40 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.ciil ];
|
|
|
|
};
|
|
|
|
}
|