You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
841 B
47 lines
841 B
{ 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 ];
|
|
};
|
|
}
|
|
|