uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/games/gogui/default.nix
Normal file
29
pkgs/games/gogui/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ fetchurl, lib, stdenv, openjdk, unzip, makeWrapper }:
|
||||
|
||||
let
|
||||
version = "1.4.9";
|
||||
in stdenv.mkDerivation {
|
||||
pname = "gogui";
|
||||
inherit version;
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
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 = [ 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 = lib.platforms.unix;
|
||||
license = lib.licenses.gpl3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue