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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{lib, fetchurl, buildGoPackage}:
buildGoPackage rec {
pname = "boohu";
version = "0.13.0";
goPackagePath = "git.tuxfamily.org/boohu/boohu.git";
src = fetchurl {
url = "https://download.tuxfamily.org/boohu/downloads/${pname}-${version}.tar.gz";
sha256 = "0q89yv4klldjpli6y9xpyr6k8nsn7qa68gp90vb3dgxynn91sh68";
};
goDeps = ./deps.nix;
postInstall = "mv $out/bin/boohu.git $out/bin/boohu";
meta = with lib; {
description = "A new coffee-break roguelike game";
longDescription = ''
Break Out Of Hareka's Underground (Boohu) is a roguelike game mainly
inspired from DCSS and its tavern, with some ideas from Brogue, but
aiming for very short games, almost no character building, and a
simplified inventory.
'';
homepage = "https://download.tuxfamily.org/boohu/index.html";
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [];
};
}

20
pkgs/games/boohu/deps.nix generated Normal file
View file

@ -0,0 +1,20 @@
[
{
goPackagePath = "github.com/nsf/termbox-go";
fetch = {
type = "git";
url = "https://github.com/nsf/termbox-go";
rev = "93860e16131719fa9722e7c448dbf8c0e3210a0d";
sha256 = "03hz060cy8qrl4kgr80pbq6xvr38z4c6ghr3y81i8g854rvp6426";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "f93a0d58d5fd95e53f82782d07bb0c79d23e1290";
sha256 = "1sq97q71vgwnbg1fphsmqrzkbfn6mjal6d8a3qgwv4nbgppwaz25";
};
}
]