Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / tagoio-sdk / default.nix
blob626872794e035fb6cac5eb7a77b7e3e68d77b223
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , poetry-core
6 , pytestCheckHook
7 , python-dateutil
8 , python-socketio
9 , pythonOlder
10 , pythonRelaxDepsHook
11 , requests
12 , requests-mock
15 buildPythonPackage rec {
16   pname = "tagoio-sdk";
17   version = "4.3.0";
18   format = "pyproject";
20   disabled = pythonOlder "3.9";
22   src = fetchFromGitHub {
23     owner = "tago-io";
24     repo = "sdk-python";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-37/fg2vbwYPhYPvSJ2YxWAPrfspqTE3thIL/VR1+AkI=";
27   };
29   pythonRelaxDeps = [
30     "requests"
31   ];
33   nativeBuildInputs = [
34     poetry-core
35     pythonRelaxDepsHook
36   ];
38   propagatedBuildInputs = [
39     aiohttp
40     python-dateutil
41     python-socketio
42     requests
43   ];
45   nativeCheckInputs = [
46     requests-mock
47     pytestCheckHook
48   ];
50   pythonImportsCheck = [
51     "tagoio_sdk"
52   ];
54   meta = with lib; {
55     description = "Module for interacting with Tago.io";
56     homepage = "https://github.com/tago-io/sdk-python";
57     changelog = "https://github.com/tago-io/sdk-python/releases/tag/v${version}";
58     license = licenses.asl20;
59     maintainers = with maintainers; [ fab ];
60   };