Merge pull request #149822 from fabaff/tago

python3Packages.tago: init at 3.0.0
This commit is contained in:
Fabian Affolter 2021-12-12 00:00:20 +01:00 committed by GitHub
commit d6c720e978
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -9287,6 +9287,8 @@ in {
tag-expressions = callPackage ../development/python-modules/tag-expressions { };
tago = callPackage ../development/python-modules/tago { };
tahoma-api = callPackage ../development/python-modules/tahoma-api { };
tailer = callPackage ../development/python-modules/tailer { };