2021-01-25 11:26:54 +03:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub
|
2018-12-02 14:41:15 +03:00
|
|
|
, gtk3, gobject-introspection
|
2018-06-12 13:11:40 +03:00
|
|
|
, wrapGAppsHook, python3Packages }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "gshogi";
|
|
|
|
version = "0.5.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johncheetham";
|
|
|
|
repo = "gshogi";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "06vgndfgwyfi50wg3cw92zspc9z0k7xn2pp6qsjih0l5yih8iwqh";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # no tests available
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2018-12-02 14:41:15 +03:00
|
|
|
gobject-introspection
|
2018-06-12 13:11:40 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pygobject3
|
|
|
|
pycairo
|
|
|
|
];
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2018-06-12 13:11:40 +03:00
|
|
|
description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://johncheetham.com/projects/gshogi/";
|
2018-06-12 13:11:40 +03:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.ciil ];
|
|
|
|
};
|
|
|
|
}
|