9304082e42
Diff: https://github.com/tago-io/sdk-python/compare/refs/tags/v4.2.1...v4.3.0 Changelog: https://github.com/tago-io/sdk-python/releases/tag/v4.3.0
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pytestCheckHook
|
|
, python-dateutil
|
|
, python-socketio
|
|
, pythonOlder
|
|
, pythonRelaxDepsHook
|
|
, requests
|
|
, requests-mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tagoio-sdk";
|
|
version = "4.3.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tago-io";
|
|
repo = "sdk-python";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-37/fg2vbwYPhYPvSJ2YxWAPrfspqTE3thIL/VR1+AkI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|