python311Packages.tagoio-sdk: init at 4.1.1

This commit is contained in:
Fabian Affolter
2023-06-27 20:53:43 +02:00
parent 67f7e1c8ef
commit a9ec48059d
2 changed files with 63 additions and 0 deletions
@@ -0,0 +1,61 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, python-dateutil
, python-socketio
, pythonOlder
, pythonRelaxDepsHook
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "tagoio-sdk";
version = "4.1.1";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "tago-io";
repo = "sdk-python";
rev = "refs/tags/v${version}";
hash = "sha256-GHjkw7B/T+XZ3F3XCI0INpx9NWjORr0lbuGse/W25wY=";
};
pythonRelaxDeps = [
"requests"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
aiohttp
python-dateutil
python-socketio
requests
];
nativeCheckInputs = [
requests-mock
pytestCheckHook
];
pythonImportsCheck = [
"tagoio_sdk"
];
meta = with lib; {
description = "Module for interacting with Tago.io";
homepage = "https://github.com/tago-io/sdk-python";
changelog = "https://github.com/tago-io/sdk-python/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -11977,6 +11977,8 @@ self: super: with self; {
tago = callPackage ../development/python-modules/tago { };
tagoio-sdk = callPackage ../development/python-modules/tagoio-sdk { };
tahoma-api = callPackage ../development/python-modules/tahoma-api { };
tailer = callPackage ../development/python-modules/tailer { };