xin/pkgs/mcchunkie.nix

34 lines
686 B
Nix
Raw Permalink Normal View History

2023-07-11 09:12:50 -06:00
{
lib,
buildGoModule,
fetchFromGitHub,
...
}:
2023-03-09 13:26:58 -07:00
with lib;
2023-07-11 09:12:50 -06:00
buildGoModule rec {
pname = "mcchunkie";
version = "1.0.13";
2022-08-25 12:21:35 -06:00
2023-07-11 09:12:50 -06:00
src = fetchFromGitHub {
owner = "qbit";
repo = pname;
rev = "v${version}";
hash = "sha256-/vPiwrNSdGDZtnnZTCxrkvRLP45c/c2/rYhBQNsddsg=";
};
2022-08-25 12:21:35 -06:00
2023-07-11 09:12:50 -06:00
vendorHash = "sha256-OWIjq8Qsr1UEOrdDZlYG6qlVKs51R6xNhCqXSqAE2Mk=";
2022-08-25 12:21:35 -06:00
2023-07-11 09:12:50 -06:00
ldflags = ["-X suah.dev/mcchunkie/plugins.version=${version}"];
2022-08-25 12:21:35 -06:00
2023-07-11 09:12:50 -06:00
proxyVendor = true;
2022-08-25 12:21:35 -06:00
2023-07-11 09:12:50 -06:00
doCheck = false;
2022-08-25 12:21:35 -06:00
2023-07-11 09:12:50 -06:00
meta = {
description = "Matrix Bot";
homepage = "https://github.com/qbit/mcchunkie";
license = licenses.mit;
maintainers = with maintainers; [qbit];
};
}