anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / tagoio-sdk / default.nix
blob4e2984a9872156106e042770394e3e48baa4d077
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   poetry-core,
7   pytestCheckHook,
8   python-dateutil,
9   python-socketio,
10   pythonOlder,
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 = [ "requests" ];
31   nativeBuildInputs = [
32     poetry-core
33   ];
35   propagatedBuildInputs = [
36     aiohttp
37     python-dateutil
38     python-socketio
39     requests
40   ];
42   nativeCheckInputs = [
43     requests-mock
44     pytestCheckHook
45   ];
47   pythonImportsCheck = [ "tagoio_sdk" ];
49   meta = with lib; {
50     description = "Module for interacting with Tago.io";
51     homepage = "https://github.com/tago-io/sdk-python";
52     changelog = "https://github.com/tago-io/sdk-python/releases/tag/v${version}";
53     license = licenses.asl20;
54     maintainers = with maintainers; [ fab ];
55   };