Files
nixpkgs/pkgs/development/python-modules/fing-agent-api/default.nix
T
2026-02-20 23:02:13 -08:00

38 lines
867 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "fing-agent-api";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "fingltd";
repo = "fing-agent-pyapi";
tag = finalAttrs.version;
hash = "sha256-tkFTkWYvWw/x2k+jT6lu/Takacm6aDX4hn8thnGZf5g=";
};
build-system = [ setuptools ];
dependencies = [ httpx ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "fing_agent_api" ];
meta = {
changelog = "https://github.com/fingltd/fing-agent-pyapi/releases/tag/${finalAttrs.version}";
description = "Python library for interacting with the Fingbox local APIs";
homepage = "https://github.com/fingltd/fing-agent-pyapi";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jamiemagee ];
};
})