2021-07-11 20:53:06 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitea }:
|
2021-03-13 19:36:41 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tea";
|
2023-02-19 06:26:49 +01:00
|
|
|
version = "0.9.2";
|
2021-03-13 19:36:41 +01:00
|
|
|
|
2021-07-11 20:53:06 +02:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "gitea.com";
|
|
|
|
owner = "gitea";
|
|
|
|
repo = "tea";
|
2021-03-13 19:36:41 +01:00
|
|
|
rev = "v${version}";
|
2023-02-19 06:26:49 +01:00
|
|
|
sha256 = "sha256-sZfg8+LIu1Ejvmr/o4X3EOz3fv+RvLhrGRf2yy+6t8c=";
|
2021-03-13 19:36:41 +01:00
|
|
|
};
|
|
|
|
|
2023-09-13 06:44:46 +02:00
|
|
|
vendorHash = "sha256-nb0lQEAaIYlGpodFQLhMk/24DmTgg5K3zQ4s/XY+Z1w=";
|
2021-03-13 19:36:41 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Gitea official CLI client";
|
|
|
|
homepage = "https://gitea.com/gitea/tea";
|
|
|
|
license = licenses.mit;
|
2022-09-13 22:08:58 +02:00
|
|
|
maintainers = with maintainers; [ j4m3s techknowlogick ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "tea";
|
2021-03-13 19:36:41 +01:00
|
|
|
};
|
|
|
|
}
|