blob: dd1639485fced79331691e904dd15ccf01331c1d (
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
45
46
47
48
49
|
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "meteo-lt-pkg";
version = "0.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Brunas";
repo = "meteo_lt-pkg";
tag = "v${version}";
hash = "sha256-OjIBgIOSJ65ryIF4D/UUUa1Oq0sPkKnaQEJeviimqhE=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "meteo_lt" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# tests contact api.meteo.lt
"test_get_forecast"
"test_get_nearest_place"
];
meta = {
changelog = "https://github.com/Brunas/meteo_lt-pkg/blob/${src.tag}/CHANGELOG.md";
description = "Meteo.Lt weather forecast package";
homepage = "https://github.com/Brunas/meteo_lt-pkg";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}
|