blob: b8865de91dbda148bdb4ba0c2fc64880716c546f (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
python-dateutil,
requests,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "hcloud";
version = "2.15.0";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-/Y5mjersmXo/6t5e3Te+BZpT5MvBT7AGCXZnUC737U0=";
};
build-system = [ setuptools ];
dependencies = [
requests
python-dateutil
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hcloud" ];
meta = {
description = "Library for the Hetzner Cloud API";
homepage = "https://github.com/hetznercloud/hcloud-python";
changelog = "https://github.com/hetznercloud/hcloud-python/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ liff ];
};
})
|