evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pytomorrowio / default.nix
blob2e3a5f4afbc3717ff23ccf7c8f09e19f78864d83
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   aiohttp,
7   pytest-aiohttp,
8   pytest-asyncio,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "pytomorrowio";
14   version = "0.3.6";
15   format = "setuptools";
17   disabled = pythonOlder "3.9";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-ZCA+GYuZuRgc4Pi9Bcg4zthOnkmQ+/IddFMkR0WYfKk=";
22   };
24   propagatedBuildInputs = [ aiohttp ];
26   nativeCheckInputs = [
27     pytest-aiohttp
28     pytest-asyncio
29     pytestCheckHook
30   ];
32   disabledTests = [
33     # aiohttp 3.10.6 compat
34     "test_errors"
35   ];
37   pythonImportsCheck = [ "pytomorrowio" ];
39   meta = {
40     description = "Async Python package to access the Tomorrow.io API";
41     homepage = "https://github.com/raman325/pytomorrowio";
42     license = lib.licenses.mit;
43     maintainers = with lib.maintainers; [ dotlambda ];
44   };