parabolic: 2024.5.0 -> 2025.1.4 (#378350)
[NixPkgs.git] / pkgs / development / python-modules / foobot-async / default.nix
blobdd12bd185a95fec3da911d87fe14f68e0bc01215
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   aiohttp,
7   async-timeout,
8   aioresponses,
9   pytestCheckHook,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "foobot-async";
15   version = "1.0.1";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchPypi {
21     pname = "foobot_async";
22     inherit version;
23     hash = "sha256-QQjysk2m8QkOpLBdC8kfuoA9PcljgEwzKyrIAhxHB4c=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [
29     aiohttp
30     async-timeout
31   ];
33   nativeCheckInputs = [
34     aioresponses
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "foobot_async" ];
40   meta = with lib; {
41     description = "API Client for Foobot Air Quality Monitoring devices";
42     homepage = "https://github.com/reefab/foobot_async";
43     license = licenses.mit;
44     maintainers = with maintainers; [ dotlambda ];
45   };