2025-01-19 09:52:08 +00:00

37 lines
785 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gama-tui";
version = "1.2.1";
src = fetchFromGitHub {
owner = "termkit";
repo = "gama";
tag = "v${version}";
hash = "sha256-ISgORjzH7ZigQYm7PSA4ZClhpw2GU7yor580fEf5UNc=";
};
vendorHash = "sha256-PTyrSXLMr244+ZTvjBBUc1gmwYXBAs0bXZS2t3aSWFQ=";
ldflags = [
"-s"
"-X main.Version=v${version}"
];
# requires network access
doCheck = false;
meta = {
description = "Manage your GitHub Actions from Terminal with great UI";
homepage = "https://github.com/termkit/gama";
changelog = "https://github.com/termkit/gama/releases";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ phanirithvij ];
mainProgram = "gama";
};
}