3
0
Fork 0
forked from mirrors/nixpkgs

gogui: init at 1.4.9

This commit is contained in:
michael bishop 2016-11-20 10:07:33 -04:00
parent 1fec301ac5
commit 2e100a3e10
No known key found for this signature in database
GPG key ID: C294FC1A485A409A
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ fetchurl, stdenv, openjdk, unzip, makeWrapper }:
let
version = "1.4.9";
in stdenv.mkDerivation {
name = "gogui-${version}";
buildInputs = [ unzip makeWrapper ];
src = fetchurl {
url = "mirror://sourceforge/project/gogui/gogui/${version}/gogui-${version}.zip";
sha256 = "0qk6p1bhi1816n638bg11ljyj6zxvm75jdf02aabzdmmd9slns1j";
};
dontConfigure = true;
installPhase = ''
mkdir -p $out/share/doc
mv -vi {bin,lib} $out/
mv -vi doc $out/share/doc/gogui
for x in $out/bin/*; do
wrapProgram $x --prefix PATH ":" ${openjdk}/bin
done
'';
meta = {
maintainers = [ stdenv.lib.maintainers.cleverca22 ];
description = "A graphical user interface to programs that play the board game Go and support the Go Text Protocol such as GNU Go";
homepage = http://gogui.sourceforge.net/;
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl3;
};
}

View file

@ -15649,6 +15649,8 @@ in
gnugo = callPackage ../games/gnugo { };
gogui = callPackage ../games/gogui {};
gtypist = callPackage ../games/gtypist { };
gzdoom = callPackage ../games/gzdoom { };