stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / aioambient / default.nix
blobf6e6bb6e021385f193961a90abae1cb3b5dac722
2   lib,
3   aiohttp,
4   aresponses,
5   buildPythonPackage,
6   certifi,
7   fetchFromGitHub,
8   poetry-core,
9   pytest-aiohttp,
10   pytest-asyncio,
11   pytestCheckHook,
12   python-engineio,
13   python-socketio,
14   pythonOlder,
15   websockets,
18 buildPythonPackage rec {
19   pname = "aioambient";
20   version = "2024.08.0";
21   pyproject = true;
23   disabled = pythonOlder "3.9";
25   src = fetchFromGitHub {
26     owner = "bachya";
27     repo = "aioambient";
28     tag = version;
29     hash = "sha256-GedGwG4Lm28BvfSBOGcspUQ3LCmdb2IC2rLifuKGOes=";
30   };
32   build-system = [ poetry-core ];
34   dependencies = [
35     aiohttp
36     certifi
37     python-engineio
38     python-socketio
39     websockets
40   ];
42   __darwinAllowLocalNetworking = true;
44   nativeCheckInputs = [
45     aresponses
46     pytest-aiohttp
47     pytest-asyncio
48     pytestCheckHook
49   ];
51   # Ignore the examples directory as the files are prefixed with test_
52   disabledTestPaths = [ "examples/" ];
54   pythonImportsCheck = [ "aioambient" ];
56   meta = with lib; {
57     description = "Python library for the Ambient Weather API";
58     homepage = "https://github.com/bachya/aioambient";
59     changelog = "https://github.com/bachya/aioambient/releases/tag/${version}";
60     license = with licenses; [ mit ];
61     maintainers = with maintainers; [ fab ];
62   };