forked from mirrors/nixpkgs
boohu: 0.13.0 -> 0.14.0
This commit is contained in:
parent
43bad2a819
commit
4378713c46
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
20
pkgs/games/boohu/deps.nix
generated
20
pkgs/games/boohu/deps.nix
generated
|
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue