Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
890 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ buildPythonPackage, fetchPypi, httpx, lib, linode-cli, pytest, pytest-asyncio, setuptools,}:
buildPythonPackage rec { pname = "linode-metadata"; version = "0.3.1";
src = fetchPypi { pname = "linode_metadata"; inherit version; hash = "sha256-EnOW3o3Y/6wzX8z4JIWqy0zSkP2iyQQfDxHBXmKt3mQ="; };
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; };}