@@ -0,0 +1,47 @@
1+{ lib
2+, aiohttp
3+, buildPythonPackage
4+, fetchFromGitHub
5+, promise
6+, python-socketio
7+, pythonOlder
8+, requests
9+, websockets
10+}:
11+
12+buildPythonPackage rec {
13+ pname = "tago";
14+ version = "3.0.0";
15+ format = "setuptools";
16+
17+ disabled = pythonOlder "3.8";
18+
19+ src = fetchFromGitHub {
20+ owner = "tago-io";
21+ repo = "tago-sdk-python";
22+ rev = version;
23+ sha256 = "sha256-eu6n83qmo1PQKnR/ellto04xi/3egl+LSKMOG277X1k=";
24+ };
25+
26+ propagatedBuildInputs = [
27+ aiohttp
28+ promise
29+ python-socketio
30+ requests
31+ websockets
32+ ];
33+
34+ # Project has no tests
35+ doCheck = false;
36+
37+ pythonImportsCheck = [
38+ "tago"
39+ ];
40+
41+ meta = with lib; {
42+ description = "Python module for interacting with Tago.io";
43+ homepage = "https://github.com/tago-io/tago-sdk-python";
44+ license = licenses.asl20;
45+ maintainers = with maintainers; [ fab ];
46+ };
47+}