blob: 473eb8089707fb6ab21d3c3b0197cbd692768260 (
plain) (
blame)
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
|
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, urllib3
}:
buildPythonPackage rec {
pname = "python-opendata-transport";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "python_opendata_transport";
inherit version;
hash = "sha256-2lEKPu5vjyqNUqz1NGmZ5b6YP3oWnCgoubDdiQCbdps=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
urllib3
];
# No tests are present
doCheck = false;
pythonImportsCheck = [
"opendata_transport"
];
meta = with lib; {
description = "Python client for interacting with transport.opendata.ch";
homepage = "https://github.com/home-assistant-ecosystem/python-opendata-transport";
changelog = "https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|