about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ritassist/default.nix
blob: 8a3691b307c41383f0e8b57800d12cdffa5c952f (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
{
  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 ];
  };
}