Merge pull request #257936 from aaronjheng/boohu

boohu: 0.13.0 -> 0.14.0
This commit is contained in:
Nick Cao 2023-09-29 09:49:54 -04:00 committed by GitHub
commit 371426a412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 31 deletions

View File

@ -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";

View File

@ -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";
};
}
]