mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
tft-cli: init at 0.0.38 (#485993)
This commit is contained in:
@@ -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";
|
||||
|
||||
61
pkgs/by-name/tf/tft-cli/package.nix
Normal file
61
pkgs/by-name/tf/tft-cli/package.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user