mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
python3Packages.linode-metadata: init at 0.3.0
https://github.com/linode/py-metadata/releases/tag/v0.3.0
This commit is contained in:
parent
c0af897d90
commit
694f2edcbf
44
pkgs/development/python-modules/linode-metadata/default.nix
Normal file
44
pkgs/development/python-modules/linode-metadata/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user