mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
gshogi: init at 0.5.1 (#41840)
This commit is contained in:
parent
da8920622a
commit
6fb9d1121a
37
pkgs/games/gshogi/default.nix
Normal file
37
pkgs/games/gshogi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -19326,6 +19326,8 @@ with pkgs;
|
||||
|
||||
gogui = callPackage ../games/gogui {};
|
||||
|
||||
gshogi = python3Packages.callPackage ../games/gshogi {};
|
||||
|
||||
gtetrinet = callPackage ../games/gtetrinet {
|
||||
inherit (gnome2) GConf libgnome libgnomeui;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user