nixpkgs/pkgs/by-name/la/lavacli/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
916 B
Nix
Raw Normal View History

2025-02-24 20:01:01 +01:00
{
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 ];
2025-02-24 20:01:01 +01:00
mainProgram = "lavacli";
};
}