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
591 B
Nix
Raw Normal View History

2023-01-12 20:38:12 +01:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "go-cqhttp";
2023-07-01 18:52:40 +02:00
version = "1.1.0";
2023-01-12 20:38:12 +01:00
src = fetchFromGitHub {
owner = "Mrs4s";
repo = pname;
rev = "v${version}";
hash = "sha256-/nmPiB2BHltguAJFHCvtS3oh/BttEH75GhgSa25cI3s=";
2023-01-12 20:38:12 +01:00
};
2023-07-01 18:52:40 +02:00
vendorSha256 = "sha256-Oqig/qtdGFO2/t7vvkApqdNhjNnYzEavNpyneAMa10k=";
2023-01-12 20:38:12 +01: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 ];
};
}