mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
a51a99c690
camelCase package name was a huge inconsistency in GNOME package set.
38 lines
885 B
Nix
38 lines
885 B
Nix
{ 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 ];
|
|
};
|
|
}
|