2021-07-11 19:53:06 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitea }:
|
2021-03-13 18:36:41 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tea";
|
2022-09-13 21:08:58 +01:00
|
|
|
version = "0.9.0";
|
2021-03-13 18:36:41 +00:00
|
|
|
|
2021-07-11 19:53:06 +01:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "gitea.com";
|
|
|
|
owner = "gitea";
|
|
|
|
repo = "tea";
|
2021-03-13 18:36:41 +00:00
|
|
|
rev = "v${version}";
|
2022-09-13 21:08:58 +01:00
|
|
|
sha256 = "sha256-Bvee8m/BXvPtaaD8xjVg9qzorO0ln6xHP1upPgWoD+A=";
|
2021-03-13 18:36:41 +00:00
|
|
|
};
|
|
|
|
|
2022-09-13 21:08:58 +01:00
|
|
|
vendorSha256 = "sha256-nb0lQEAaIYlGpodFQLhMk/24DmTgg5K3zQ4s/XY+Z1w=";
|
2021-03-13 18:36:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Gitea official CLI client";
|
|
|
|
homepage = "https://gitea.com/gitea/tea";
|
|
|
|
license = licenses.mit;
|
2022-09-13 21:08:58 +01:00
|
|
|
maintainers = with maintainers; [ j4m3s techknowlogick ];
|
2021-03-13 18:36:41 +00:00
|
|
|
};
|
|
|
|
}
|