1{
2 lib,
3 buildPythonPackage,
4 ciso8601,
5 fetchPypi,
6 geopy,
7 pythonOlder,
8 requests,
9 sseclient,
10}:
11
12buildPythonPackage rec {
13 pname = "ritassist";
14 version = "0.9.3";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "1JCKWb+3mdQYnL250Ml+kFkx6VAlBC7FL6XcQlQ+kC4=";
22 };
23
24 propagatedBuildInputs = [
25 ciso8601
26 geopy
27 requests
28 sseclient
29 ];
30
31 # Project has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "ritassist" ];
35
36 meta = with lib; {
37 description = "Python client to access RitAssist and FleetGO API";
38 homepage = "https://github.com/depl0y/ritassist-py";
39 license = licenses.mit;
40 maintainers = with maintainers; [ fab ];
41 };
42}