From 4a78942c7586796f8ca6ebcde360d01452f0b246 Mon Sep 17 00:00:00 2001 From: Simon Lackerbauer Date: Fri, 20 Apr 2018 20:32:17 +0200 Subject: [PATCH] gnushogi: init at 1.4.2 --- pkgs/games/gnushogi/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/games/gnushogi/default.nix diff --git a/pkgs/games/gnushogi/default.nix b/pkgs/games/gnushogi/default.nix new file mode 100644 index 000000000000..e85674550308 --- /dev/null +++ b/pkgs/games/gnushogi/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, zlib }: + +stdenv.mkDerivation rec { + name = "gnushogi-${version}"; + version = "1.4.2"; + buildInputs = [ zlib ]; + + src = fetchurl { + url = "mirror://gnu/gnushogi/${name}.tar.gz"; + sha256 = "0a9bsl2nbnb138lq0h14jfc5xvz7hpb2bcsj4mjn6g1hcsl4ik0y"; + }; + + meta = with stdenv.lib; { + description = "GNU implementation of Shogi, also known as Japanese Chess"; + homepage = https://www.gnu.org/software/gnushogi/; + license = licenses.gpl3; + maintainers = [ maintainers.ciil ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bdf6ab032315..c520e24be020 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19077,6 +19077,8 @@ with pkgs; gnujump = callPackage ../games/gnujump { }; + gnushogi = callPackage ../games/gnushogi { }; + gogui = callPackage ../games/gogui {}; gtetrinet = callPackage ../games/gtetrinet {