blob: d90282a317f1c5aa4ce5a78d80681c9a93adf56e (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
aiohttp,
aiozoneinfo,
lxml,
poetry-core,
}:
buildPythonPackage rec {
pname = "pytrafikverket";
version = "1.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-yfo36fAVC2LaresQ1QcXq2EGhGtkVzNbWvD6lynhusQ=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
aiozoneinfo
lxml
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pytrafikverket" ];
meta = {
description = "Library to get data from the Swedish Transport Administration (Trafikverket) API";
homepage = "https://github.com/gjohansson-ST/pytrafikverket";
changelog = "https://github.com/gjohansson-ST/pytrafikverket/releases/tag/v${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|