xin/pkgs/mcchunkie.nix

29 lines
642 B
Nix
Raw Normal View History

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";
version = "1.0.13";
2022-08-25 12:21:35 -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-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 ];
};
}