wuzz: 0.2.0 -> 0.5.0

Also switch to buildGoModule.
This commit is contained in:
Daniel Nagy 2022-02-18 16:37:40 +01:00
parent 762df38f51
commit 9ffea64abd
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671
2 changed files with 7 additions and 102 deletions

View File

@ -1,20 +1,17 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "wuzz";
version = "0.2.0";
rev = "v${version}";
goPackagePath = "https://github.com/asciimoo/wuzz";
version = "0.5.0";
src = fetchFromGitHub {
owner = "asciimoo";
repo = "wuzz";
inherit rev;
sha256 = "1fcr5jr0vn5w60bn08lkh2mi0hdarwp361h94in03139j7hhqrfs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-H0soiKOytchfcFx17az0pGoFbA+hhXLxGJVdaARvnDc=";
};
goDeps = ./deps.nix;
vendorSha256 = "sha256-omeAIq8KBYXRnldiGKDF1g+aOKYc+B4grusmfg5wOuA=";
meta = with lib; {
homepage = "https://github.com/asciimoo/wuzz";

View File

@ -1,92 +0,0 @@
[
{
goPackagePath = "github.com/jroimartin/gocui";
fetch = {
type = "git";
url = "https://github.com/jroimartin/gocui";
rev = "ed41d1bd2c217d4d1e312c2ee5d2f0c7793a99cc";
sha256 = "1h4jxhvkf43jsbn85w45fq2xsmcg08mc9g7pkxf880g6sqznrmcz";
};
}
{
goPackagePath = "github.com/nsf/termbox-go";
fetch = {
type = "git";
url = "https://github.com/nsf/termbox-go";
rev = "abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8";
sha256 = "156i8apkga8b3272kjhapyqwspgcfkrr9kpqwc5lii43k4swghpv";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "14207d285c6c197daabb5c9793d63e7af9ab2d50";
sha256 = "0y6yq9zd4kh7fimnc00r3h9pr2pwa5j85b3jcn5dyfamsnm2xdsv";
};
}
{
goPackagePath = "github.com/mitchellh/go-homedir";
fetch = {
type = "git";
url = "https://github.com/mitchellh/go-homedir";
rev = "b8bc1bf767474819792c23f32d8286a45736f1c6";
sha256 = "13ry4lylalkh4g2vny9cxwvryslzyzwp9r92z0b10idhdq3wad1q";
};
}
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4";
sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw";
};
}
{
goPackagePath = "github.com/nwidger/jsoncolor";
fetch = {
type = "git";
url = "https://github.com/nwidger/jsoncolor";
rev = "0192e84d44af834c3a90c8a17bf670483b91ad5a";
sha256 = "17mndgd1d233c22bd19xv4v2l2i5k8kz7y6n4n54a9i7fi9d10al";
};
}
{
goPackagePath = "github.com/fatih/color";
fetch = {
type = "git";
url = "https://github.com/fatih/color";
rev = "e8e01ee22a7d4a91b49646e39245fe08e69c7878";
sha256 = "1660g29qhshk6zxhpnc0f52m69jdqqdw2ccbkqw9y4kilnripfvl";
};
}
{
goPackagePath = "github.com/mattn/go-isatty";
fetch = {
type = "git";
url = "https://github.com/mattn/go-isatty";
rev = "30a891c33c7cde7b02a981314b4228ec99380cca";
sha256 = "03gsxn89pgkj4jkxm9avnj4f0ckvcskc6fj2lcd98l3akrz50ndg";
};
}
{
goPackagePath = "github.com/mattn/go-colorable";
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
rev = "d228849504861217f796da67fae4f6e347643f15";
sha256 = "0ch5sfcpmqczsh8kjbwpzdw31lacbkfyzvpzh4disnhhydbxjq0d";
};
}
{
goPackagePath = "github.com/asciimoo/wuzz";
fetch = {
type = "git";
url = "https://github.com/asciimoo/wuzz";
rev = "f34c82a4386951022f8bfc011fe6a7362dd8286c";
sha256 = "1fcr5jr0vn5w60bn08lkh2mi0hdarwp361h94in03139j7hhqrfs";
};
}
]