summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tago/default.nix
blob: 392c3501527fc0ca2d58b6454b13f8f5c6367879 (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
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  promise,
  python-socketio,
  requests,
  websockets,
}:

buildPythonPackage rec {
  pname = "tago";
  version = "3.1.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "tago-io";
    repo = "tago-sdk-python";
    tag = "v${version}";
    hash = "sha256-q1xcPF+oeQsCAZjeYTVY2aaKFmb8rCTWVikGxdpPQ28=";
  };

  pythonRelaxDeps = true;

  propagatedBuildInputs = [
    aiohttp
    promise
    python-socketio
    requests
    websockets
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "tago" ];

  meta = {
    description = "Python module for interacting with Tago.io";
    homepage = "https://github.com/tago-io/tago-sdk-python";
    changelog = "https://github.com/tago-io/tago-sdk-python/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}