git.iko.soy/typeable/nixpkgs
on master help sign in
boohu: switching to termbox-go build

This is necessary for a better user experience. File with go dependencies (deps.nix) was added. Minor changes: name replaced by pname, quotes for url.

commit90ad0fd74312ad6f10071739557223cfdfaa4a5e authorFree Potion <42352817+freepotion@users.noreply.github.com> dateSat 25 May 2019, 13:57 (7 years ago) parentfa05f33
2 files changed+25−5
pkgs/games/boohu/default.nix+5−5 pkgs/games/boohu/deps.nix+20
pkgs/games/boohu/default.nix+5−5
@@ -2,29 +2,29 @@
22
33buildGoPackage rec {
44
5− name = "boohu-${version}";
5+ pname = "boohu";
66 version = "0.12.0";
77
88 goPackagePath = "git.tuxfamily.org/boohu/boohu.git";
99
1010 src = fetchurl {
11− url = "https://download.tuxfamily.org/boohu/downloads/boohu-${version}.tar.gz";
11+ url = "https://download.tuxfamily.org/boohu/downloads/${pname}-${version}.tar.gz";
1212 sha256 = "0nf3xj3lda8279cqvjv5c3vpsb7d2kynwwna5yrsy7gq8c9n4rh8";
1313 };
1414
15− buildFlags = "--tags ansi";
15+ goDeps = ./deps.nix;
1616
1717 postInstall = "mv $bin/bin/boohu.git $bin/bin/boohu";
1818
1919 meta = with stdenv.lib; {
20− description = "A new roguelike game";
20+ description = "A new coffee-break roguelike game";
2121 longDescription = ''
2222 Break Out Of Hareka's Underground (Boohu) is a roguelike game mainly
2323 inspired from DCSS and its tavern, with some ideas from Brogue, but
2424 aiming for very short games, almost no character building, and a
2525 simplified inventory.
2626 '';
27− homepage = https://download.tuxfamily.org/boohu/index.html;
27+ homepage = "https://download.tuxfamily.org/boohu/index.html";
2828 license = licenses.isc;
2929 platforms = platforms.unix;
3030 maintainers = with maintainers; [freepotion];
pkgs/games/boohu/deps.nixnew file+20
@@ -0,0 +1,20 @@
1+[
2+ {
3+ goPackagePath = "github.com/nsf/termbox-go";
4+ fetch = {
5+ type = "git";
6+ url = "https://github.com/nsf/termbox-go";
7+ rev = "288510b9734e30e7966ec2f22b87c5f8e67345e3";
8+ sha256 = "0hdyisfaf8yb55h3p03p4sbq19546mp9fy28f2kn659mycmhxqk4";
9+ };
10+ }
11+ {
12+ goPackagePath = "github.com/mattn/go-runewidth";
13+ fetch = {
14+ type = "git";
15+ url = "https://github.com/mattn/go-runewidth";
16+ rev = "703b5e6b11ae25aeb2af9ebb5d5fdf8fa2575211";
17+ sha256 = "0znpyz71gajx3g0j2zp63nhjj2c07g16885vxv4ykwnrfmzbgk4w";
18+ };
19+ }
20+]