Merge pull request #210413 from Anillc/go-cqhttp
go-cqhttp: init at 1.0.0-rc4
This commit is contained in:
commit
4fee205a68
2 changed files with 27 additions and 0 deletions
25
pkgs/servers/go-cqhttp/default.nix
Normal file
25
pkgs/servers/go-cqhttp/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "go-cqhttp";
|
||||||
|
version = "1.0.0-rc4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Mrs4s";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-7TWKd0y8yBi2piKBCUZFeo3swtC/SteRtXXRv7Ojajs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-Oz/4bazhNnkf26YJ4H7c7d7vNzIJxG2OG0BJOiHBY7Y=";
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -24063,6 +24063,8 @@ with pkgs;
|
||||||
|
|
||||||
go-camo = callPackage ../servers/http/go-camo { };
|
go-camo = callPackage ../servers/http/go-camo { };
|
||||||
|
|
||||||
|
go-cqhttp = callPackage ../servers/go-cqhttp { };
|
||||||
|
|
||||||
gofish = callPackage ../servers/gopher/gofish { };
|
gofish = callPackage ../servers/gopher/gofish { };
|
||||||
|
|
||||||
grafana = callPackage ../servers/monitoring/grafana { };
|
grafana = callPackage ../servers/monitoring/grafana { };
|
||||||
|
|
Loading…
Reference in a new issue