nixpkgs/pkgs/by-name/la/lavacli/package.nix
Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

45 lines
916 B
Nix

{
lib,
fetchFromGitLab,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "lavacli";
version = "2.2.0";
pyproject = true;
src = fetchFromGitLab {
owner = "lava";
repo = "lavacli";
tag = "v${version}";
hash = "sha256-Pfsf2a5y3rpoTGY3PmNdq9ojSjBVBfawz/LTQmIQ2vU=";
};
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
aiohttp
jinja2
requests
ruamel-yaml
voluptuous
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
pyzmq
];
meta = {
description = "Command line tool to interact with one or many LAVA instances using XML-RPC";
homepage = "https://lava.gitlab.io/lavacli/";
changelog = "https://gitlab.com/lava/lavacli/-/commits/v${version}?ref_type=tags";
license = lib.licenses.agpl3Only;
teams = [ lib.teams.cyberus ];
mainProgram = "lavacli";
};
}