nixpkgs/pkgs/servers/go-cqhttp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
593 B
Nix
Raw Normal View History

2023-01-12 22:38:12 +03:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "go-cqhttp";
2023-04-15 11:28:32 +03:00
version = "1.0.1";
2023-01-12 22:38:12 +03:00
src = fetchFromGitHub {
owner = "Mrs4s";
repo = pname;
rev = "v${version}";
2023-04-15 11:28:32 +03:00
sha256 = "sha256-Vc/k4mb1JramT2l+zu9zZQa65gP5XvgqUEQgle1vX8w=";
2023-01-12 22:38:12 +03:00
};
2023-04-15 11:28:32 +03:00
vendorSha256 = "sha256-tAvo96hIWxkt3rrrPH5fDKwfwuc76Ze0r55R/ZssU4s=";
2023-01-12 22:38:12 +03: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 ];
};
}