summary refs log tree commit diff
path: root/pkgs/games/gshogi/default.nix
blob: 9004bd3d0423a66f1b9f0b0a88b6b9e376cbf214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, buildPythonApplication, fetchFromGitHub
, gtk3, gobject-introspection
, 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
    gobject-introspection
  ];

  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 ];
  };
}