587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
37 lines
726 B
Nix
37 lines
726 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, poetry-core
|
|
, requests
|
|
, pyjwt
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyixapi";
|
|
version = "0.2.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-qkgPBIYv9xzGa29RiPAU3zNhcyutTUX1Vkmpd9YdeJU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
pyjwt
|
|
];
|
|
|
|
pythonImportsCheck = [ "pyixapi" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/peering-manager/pyixapi/";
|
|
changelog = "https://github.com/peering-manager/pyixapi/releases/tag/${version}";
|
|
description = "Python API client library for IX-API";
|
|
license = licenses.asl20;
|
|
maintainers = teams.wdz.members;
|
|
};
|
|
}
|