blob: 89e9b10c2089617f2dba0b5c4f00e1e814a2b234 (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
urllib3,
}:
buildPythonPackage rec {
pname = "python-opendata-transport";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "python_opendata_transport";
inherit version;
hash = "sha256-CtYsks7Q33ww0Mr9ehhq7+fJhCsj4gxKytiCZ6G4Aqc=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
urllib3
];
# No tests are present
doCheck = false;
pythonImportsCheck = [ "opendata_transport" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|