python3Packages.linode-metadata: init at 0.3.0

https://github.com/linode/py-metadata/releases/tag/v0.3.0
This commit is contained in:
superherointj 2024-07-15 12:30:26 -03:00
parent c0af897d90
commit 694f2edcbf
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{
buildPythonPackage,
fetchPypi,
httpx,
lib,
linode-cli,
pytest,
pytest-asyncio,
setuptools,
}:
buildPythonPackage rec {
pname = "linode-metadata";
version = "0.3.0";
src = fetchPypi {
pname = "linode_metadata";
inherit version;
hash = "sha256-ZFCv9f4hbiBaJuKvzs/BGFoP+mAFwVa8OFF22b22voI=";
};
pyproject = true;
dependencies = [
httpx
setuptools
];
checkInputs = [
pytest
pytest-asyncio
];
pythonImportsCheck = [ "linode_metadata" ];
meta = {
description = "Python package for interacting with the Linode Metadata Service";
downloadPage = "https://pypi.org/project/linode-metadata/";
homepage = "https://github.com/linode/py-metadata";
changelog = "https://github.com/linode/py-metadata/releases/tag/v${version}";
license = lib.licenses.bsd3;
maintainers = linode-cli.meta.maintainers;
};
}

View File

@ -6996,6 +6996,8 @@ self: super: with self; {
linode-api = callPackage ../development/python-modules/linode-api { };
linode-metadata = callPackage ../development/python-modules/linode-metadata { };
linode = callPackage ../development/python-modules/linode { };
linuxfd = callPackage ../development/python-modules/linuxfd { };