about summary refs log tree commit diff
path: root/pkgs/games/gnushogi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/gnushogi/default.nix')
-rw-r--r--pkgs/games/gnushogi/default.nix20
1 files changed, 20 insertions, 0 deletions
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;
+  };
+}