Files

38 lines
867 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "fing-agent-api";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fingltd";
repo = "fing-agent-pyapi";
tag = finalAttrs.version;
hash = "sha256-RUV6/iSA82/aQoWfsp/3iPnqwJ4xjMbO/NR/ut4qORU=";
};
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 ];
};
})