about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ritassist/default.nix
blob: a23bb3df5deee44337bab24737f1910444adff4b (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
41
42
43
{ lib
, buildPythonPackage
, ciso8601
, fetchPypi
, geopy
, pythonOlder
, requests
, sseclient
}:

buildPythonPackage rec {
  pname = "ritassist";
  version = "0.9.3";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1JCKWb+3mdQYnL250Ml+kFkx6VAlBC7FL6XcQlQ+kC4=";
  };

  propagatedBuildInputs = [
    ciso8601
    geopy
    requests
    sseclient
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "ritassist"
  ];

  meta = with lib; {
    description = "Python client to access RitAssist and FleetGO API";
    homepage = "https://github.com/depl0y/ritassist-py";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}