nixpkgs/pkgs/development/python-modules/pyixapi/default.nix
Wolfgang Walther 9d3ad4c3d8 teams/wdz: drop
2026-01-15 10:56:23 +01:00

42 lines
825 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pyjwt,
pytestCheckHook,
requests,
}:
buildPythonPackage rec {
pname = "pyixapi";
version = "0.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "peering-manager";
repo = "pyixapi";
tag = version;
hash = "sha256-NS8rVzLpEtpuLal6sApXI3hjASiIeXZuZ4xyj9Zv1k0=";
};
pythonRelaxDeps = [ "pyjwt" ];
build-system = [ poetry-core ];
dependencies = [
requests
pyjwt
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyixapi" ];
meta = {
description = "Python API client library for IX-API";
homepage = "https://github.com/peering-manager/pyixapi/";
changelog = "https://github.com/peering-manager/pyixapi/releases/tag/${src.tag}";
license = lib.licenses.asl20;
};
}