blob: 1eeccb8c576b8b999211aba21fda990e4ddc6255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
buildPythonPackage,
fetchPypi,
httpx,
lib,
linode-cli,
pytest,
pytest-asyncio,
setuptools,
}:
buildPythonPackage rec {
pname = "linode-metadata";
version = "0.3.3";
src = fetchPypi {
pname = "linode_metadata";
inherit version;
hash = "sha256-E4qOA7xNuexf/nvTY8qGodLtlD1oGz81eSsA3oIHmGs=";
};
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;
};
}
|