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