blob: b633848e649e42b4165d80bf1fbe119235522afe (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, urllib3
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-opendata-transport";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "python_opendata_transport";
inherit version;
hash = "sha256-CpzMMp2C3UOiUna9EcUucD/PKv7AZlkaU8QJfWntoi8=";
};
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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|