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-07-01 19:52:40 +03:00
version = "1.1.0";
2023-01-12 22:38:12 +03:00
src = fetchFromGitHub {
owner = "Mrs4s";
repo = pname;
rev = "v${version}";
2023-07-01 19:52:40 +03:00
sha256 = "sha256-/nmPiB2BHltguAJFHCvtS3oh/BttEH75GhgSa25cI3s=";
2023-01-12 22:38:12 +03:00
};
2023-07-01 19:52:40 +03:00
vendorSha256 = "sha256-Oqig/qtdGFO2/t7vvkApqdNhjNnYzEavNpyneAMa10k=";
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 ];
};
}