blob: 1c1ad8de5118b05ada6ac3cdc1ca52a7b27ecfe0 (
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
|
{
lib,
aiohttp,
beautifulsoup4,
buildPythonPackage,
cryptography,
fetchFromGitHub,
lxml,
pyjwt,
setuptools-scm,
xmltodict,
}:
buildPythonPackage rec {
pname = "seatconnect";
version = "1.1.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "farfar";
repo = "seatconnect";
tag = version;
hash = "sha256-HITVrI0o94a61gy/TYSGFtLBYX4Rw/dK1o2/KsvHLTQ=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
aiohttp
beautifulsoup4
cryptography
lxml
pyjwt
xmltodict
];
# Project only has a dummy test
doCheck = false;
pythonImportsCheck = [ "seatconnect" ];
meta = {
description = "Python module to communicate with Seat Connect";
homepage = "https://github.com/farfar/seatconnect";
changelog = "https://github.com/Farfar/seatconnect/releases/tag/${version}";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|