gshogi: init at 0.5.1 (#41840)

This commit is contained in:
Simon Lackerbauer 2018-06-12 12:11:40 +02:00 committed by xeji
parent da8920622a
commit 6fb9d1121a
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ stdenv, buildPythonApplication, fetchFromGitHub
, gtk3, gobjectIntrospection
, 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
gobjectIntrospection
];
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = with python3Packages; [
pygobject3
pycairo
];
meta = with stdenv.lib; {
description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
homepage = http://johncheetham.com/projects/gshogi/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.ciil ];
};
}

View File

@ -19326,6 +19326,8 @@ with pkgs;
gogui = callPackage ../games/gogui {};
gshogi = python3Packages.callPackage ../games/gshogi {};
gtetrinet = callPackage ../games/gtetrinet {
inherit (gnome2) GConf libgnome libgnomeui;
};