Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / gshogi / default.nix
blob77eab7918b91c09714721bb3eb54b618ebaf4b6b
1 { lib
2 , fetchFromGitHub
3 , gobject-introspection
4 , gtk3
5 , python3
6 , wrapGAppsHook
7 }:
9 python3.pkgs.buildPythonApplication rec {
10   pname = "gshogi";
11   version = "0.5.1";
13   src = fetchFromGitHub {
14     owner = "johncheetham";
15     repo = "gshogi";
16     rev = "v${version}";
17     hash = "sha256-EPOIYPSFAhilxuZeYfuZ4Cd29ReJs/E4KNF5/lyzbxs=";
18   };
20   doCheck = false;  # no tests available
22   buildInputs = [
23     gtk3
24   ];
26   nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
28   propagatedBuildInputs = with python3.pkgs; [
29     pygobject3
30     pycairo
31   ];
33   meta = with lib; {
34     homepage = "http://johncheetham.com/projects/gshogi/";
35     description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
36     license = licenses.gpl3Plus;
37     platforms = platforms.linux;
38     maintainers = [ maintainers.ciil ];
39   };