mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-07 22:03:37 +00:00
Diff: https://github.com/fingltd/fing-agent-pyapi/compare/1.0.3...1.1.0 Changelog: https://github.com/fingltd/fing-agent-pyapi/releases/tag/1.1.0
38 lines
867 B
Nix
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 ];
|
|
};
|
|
})
|