depot/third_party/nixpkgs/pkgs/servers/go-cqhttp/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

25 lines
597 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "go-cqhttp";
version = "1.0.0-rc5";
src = fetchFromGitHub {
owner = "Mrs4s";
repo = pname;
rev = "v${version}";
sha256 = "sha256-t9R1hnd0LzLYn2EiX6JOpbVuhyrWJUB0FYikP2g1CYs=";
};
vendorSha256 = "sha256-4j1CRRaHzjvFus+djR9tJU4vVY4g34o8V1owz7hi4qI=";
meta = with lib; {
description = "The Golang implementation of OneBot based on Mirai and MiraiGo";
homepage = "https://github.com/Mrs4s/go-cqhttp";
license = licenses.agpl3Only;
maintainers = with maintainers; [ Anillc ];
};
}