blob: d20d99f9ebc189e56d56a10a1b87087998cc192c (
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
48
49
50
51
52
53
54
55
|
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, promise
, python-socketio
, pythonOlder
, pythonRelaxDepsHook
, requests
, websockets
}:
buildPythonPackage rec {
pname = "tago";
version = "3.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "tago-io";
repo = "tago-sdk-python";
rev = "refs/tags/v${version}";
hash = "sha256-q1xcPF+oeQsCAZjeYTVY2aaKFmb8rCTWVikGxdpPQ28=";
};
pythonRelaxDeps = true;
nativeBuildInputs = [
pythonRelaxDepsHook
];
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";
changelog = "https://github.com/tago-io/tago-sdk-python/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
|