blob: 220c8f2b0bb7e60a62143a497d01dac6f4b4ccea (
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
44
45
46
47
|
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, promise
, python-socketio
, pythonOlder
, requests
, websockets
}:
buildPythonPackage rec {
pname = "tago";
version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "tago-io";
repo = "tago-sdk-python";
rev = version;
sha256 = "sha256-eu6n83qmo1PQKnR/ellto04xi/3egl+LSKMOG277X1k=";
};
propagatedBuildInputs = [
aiohttp
promise
python-socketio
requests
websockets
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"tago"
];
meta = with lib; {
description = "Python module for interacting with Tago.io";
homepage = "https://github.com/tago-io/tago-sdk-python";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
|