2021-07-14 22:03:04 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitea }:
|
2021-03-19 17:17:44 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tea";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "0.9.2";
|
2021-03-19 17:17:44 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "gitea.com";
|
|
|
|
owner = "gitea";
|
|
|
|
repo = "tea";
|
2021-03-19 17:17:44 +00:00
|
|
|
rev = "v${version}";
|
2023-02-22 10:55:15 +00:00
|
|
|
sha256 = "sha256-sZfg8+LIu1Ejvmr/o4X3EOz3fv+RvLhrGRf2yy+6t8c=";
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-nb0lQEAaIYlGpodFQLhMk/24DmTgg5K3zQ4s/XY+Z1w=";
|
2021-03-19 17:17:44 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Gitea official CLI client";
|
|
|
|
homepage = "https://gitea.com/gitea/tea";
|
|
|
|
license = licenses.mit;
|
2022-09-14 18:05:37 +00:00
|
|
|
maintainers = with maintainers; [ j4m3s techknowlogick ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "tea";
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
}
|