nixpkgs/pkgs/games/gshogi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
877 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub
, gtk3, gobject-introspection
2018-06-12 12:11:40 +02: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
gobject-introspection
2018-06-12 12:11:40 +02:00
];
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = with python3Packages; [
pygobject3
pycairo
];
meta = with lib; {
2018-06-12 12:11:40 +02:00
description = "A graphical implementation of the Shogi board game, also known as Japanese Chess";
homepage = "http://johncheetham.com/projects/gshogi/";
2018-06-12 12:11:40 +02:00
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.ciil ];
};
}