tft-cli: init at 0.0.38 (#485993)

This commit is contained in:
Anthony
2026-09-29 11:01:21 +00:00
committed by GitHub
2 changed files with 68 additions and 0 deletions

View File

@@ -18773,6 +18773,13 @@
github = "mfairley";
githubId = 4374785;
};
mfocko = {
name = "Matej Focko";
github = "mfocko";
githubId = 8149784;
email = "me@mfocko.xyz";
matrix = "@mfocko:fedora.im";
};
mfossen = {
email = "msfossen@gmail.com";
github = "mfossen";

View File

@@ -0,0 +1,61 @@
{
lib,
fetchFromGitLab,
python3Packages,
versionCheckHook,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "tft-cli";
version = "0.0.38";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitLab {
owner = "testing-farm";
repo = "cli";
tag = "v${finalAttrs.version}";
hash = "sha256-guoZfFkx9VNXiJy61Cg08G/H4HIcSZ66J+US69SsioM=";
};
build-system = with python3Packages; [
poetry-core
poetry-dynamic-versioning
];
dependencies = with python3Packages; [
click
typer
dynaconf
colorama
requests
rich
ruamel-yaml
shellingham
pendulum
python-dotenv
keyring
cryptography
];
pythonImportsCheck = [ "tft" ];
nativeCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "version";
doInstallCheck = true;
meta = {
homepage = "https://testing-farm.io/";
changelog = "https://gitlab.com/testing-farm/cli/-/releases/${finalAttrs.src.tag}";
description = "Command-line interface for Testing Farm";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
mfocko
thrix
];
mainProgram = "testing-farm";
};
})