blob: 8c683da8edb2fefdb40b559fe96e292e48d8c905 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
aiohttp,
}:
buildPythonPackage rec {
pname = "hko";
version = "0.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-6FzdaSaw7sX52wM8HbHFGtKdR2JBg3B2cMZnP7RfQzs=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "hko" ];
meta = {
description = "Unofficial Python wrapper for the Hong Kong Observatory public API";
homepage = "https://github.com/MisterCommand/python-hko";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|