From 6fb9d1121a529e33100abe670ad40119079794db Mon Sep 17 00:00:00 2001 From: Simon Lackerbauer Date: Tue, 12 Jun 2018 12:11:40 +0200 Subject: gshogi: init at 0.5.1 (#41840) --- pkgs/games/gshogi/default.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/games/gshogi/default.nix (limited to 'pkgs/games/gshogi') diff --git a/pkgs/games/gshogi/default.nix b/pkgs/games/gshogi/default.nix new file mode 100644 index 00000000000..9759eb8956a --- /dev/null +++ b/pkgs/games/gshogi/default.nix @@ -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 ]; + }; +} -- cgit 1.4.1