python311Packages.tagoio-sdk: init at 4.1.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user