2023-01-12 19:38:12 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-cqhttp";
|
2023-10-10 17:30:14 +00:00
|
|
|
version = "1.2.0";
|
2023-01-12 19:38:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mrs4s";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-10 17:30:14 +00:00
|
|
|
hash = "sha256-mKenmsGdVg60zjVMTfbEtqtPcJdJo60Nz6IUQ9RB7j0=";
|
2023-01-12 19:38:12 +00:00
|
|
|
};
|
|
|
|
|
2023-10-10 17:30:14 +00:00
|
|
|
vendorHash = "sha256-YNARh25xrcPGvhhXzYmg3CsWwzvXq44uWt0S1PjRVdM=";
|
2023-01-12 19:38:12 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|