nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 41 lines 859 B view raw
1{ lib 2, fetchFromGitHub 3, gobject-introspection 4, gtk3 5, python3 6, wrapGAppsHook 7}: 8 9python3.pkgs.buildPythonApplication rec { 10 pname = "gshogi"; 11 version = "0.5.1"; 12 13 src = fetchFromGitHub { 14 owner = "johncheetham"; 15 repo = "gshogi"; 16 rev = "v${version}"; 17 hash = "sha256-EPOIYPSFAhilxuZeYfuZ4Cd29ReJs/E4KNF5/lyzbxs="; 18 }; 19 20 doCheck = false; # no tests available 21 22 buildInputs = [ 23 gtk3 24 gobject-introspection 25 ]; 26 27 nativeBuildInputs = [ wrapGAppsHook ]; 28 29 propagatedBuildInputs = with python3.pkgs; [ 30 pygobject3 31 pycairo 32 ]; 33 34 meta = with lib; { 35 homepage = "http://johncheetham.com/projects/gshogi/"; 36 description = "A graphical implementation of the Shogi board game, also known as Japanese Chess"; 37 license = licenses.gpl3Plus; 38 platforms = platforms.linux; 39 maintainers = [ maintainers.ciil ]; 40 }; 41}