diff options
author | Aaron Jheng <wentworth@outlook.com> | 2023-09-29 01:42:39 +0000 |
---|---|---|
committer | Aaron Jheng <wentworth@outlook.com> | 2023-09-29 01:42:39 +0000 |
commit | 4378713c466a4f1546752475040e113daf148a8b (patch) | |
tree | 4dc7d53cf73af07e9bd9e821cbcb4d77c5eb93aa /pkgs/games | |
parent | 43bad2a81976d09c22f605a91512e208ba82164c (diff) | |
download | nixlib-4378713c466a4f1546752475040e113daf148a8b.tar nixlib-4378713c466a4f1546752475040e113daf148a8b.tar.gz nixlib-4378713c466a4f1546752475040e113daf148a8b.tar.bz2 nixlib-4378713c466a4f1546752475040e113daf148a8b.tar.lz nixlib-4378713c466a4f1546752475040e113daf148a8b.tar.xz nixlib-4378713c466a4f1546752475040e113daf148a8b.tar.zst nixlib-4378713c466a4f1546752475040e113daf148a8b.zip |
boohu: 0.13.0 -> 0.14.0
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/boohu/default.nix | 19 | ||||
-rw-r--r-- | pkgs/games/boohu/deps.nix | 20 |
2 files changed, 8 insertions, 31 deletions
diff --git a/pkgs/games/boohu/default.nix b/pkgs/games/boohu/default.nix index 6b3c0e04f982..708d8d7510bc 100644 --- a/pkgs/games/boohu/default.nix +++ b/pkgs/games/boohu/default.nix @@ -1,20 +1,17 @@ -{lib, fetchurl, buildGoPackage}: - -buildGoPackage rec { +{ lib, fetchurl, buildGoModule }: +buildGoModule rec { pname = "boohu"; - version = "0.13.0"; - - goPackagePath = "git.tuxfamily.org/boohu/boohu.git"; + version = "0.14.0"; src = fetchurl { - url = "https://download.tuxfamily.org/boohu/downloads/${pname}-${version}.tar.gz"; - sha256 = "0q89yv4klldjpli6y9xpyr6k8nsn7qa68gp90vb3dgxynn91sh68"; + url = "https://download.tuxfamily.org/boohu/downloads/boohu-${version}.tar.gz"; + hash = "sha256-IB59C5/uuHP6LtKLypjpgHOo0MR9bFdCbudaRa+h7lI="; }; - goDeps = ./deps.nix; + vendorHash = "sha256-AVK4zE/Hs9SN8Qj2WYj/am2B0R74QKYoMNf3sRRjnU4="; - postInstall = "mv $out/bin/boohu.git $out/bin/boohu"; + ldflags = [ "-s" "-w" ]; meta = with lib; { description = "A new coffee-break roguelike game"; @@ -27,6 +24,6 @@ buildGoPackage rec { homepage = "https://download.tuxfamily.org/boohu/index.html"; license = licenses.isc; platforms = platforms.unix; - maintainers = with maintainers; []; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/games/boohu/deps.nix b/pkgs/games/boohu/deps.nix deleted file mode 100644 index c2dc3b41b973..000000000000 --- a/pkgs/games/boohu/deps.nix +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - 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"; - }; - } -] |