evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / solarlog-cli / default.nix
blobb82b69d8c2f0572bebd4e24ddaa59ce99d162e00
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   hatchling,
7   aiohttp,
8   mashumaro,
9   aioresponses,
10   pytest-aio,
11   pytestCheckHook,
12   syrupy,
15 buildPythonPackage rec {
16   pname = "solarlog-cli";
17   version = "0.3.2";
18   pyproject = true;
20   disabled = pythonOlder "3.12";
22   src = fetchFromGitHub {
23     owner = "dontinelli";
24     repo = "solarlog_cli";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-Oa2o4fuchW3ROtQFVhiWL6rhdUbzSFDegCkm8W7bCpE=";
27   };
29   build-system = [ hatchling ];
31   dependencies = [
32     aiohttp
33     mashumaro
34   ];
36   pythonImportsCheck = [ "solarlog_cli" ];
38   nativeCheckInputs = [
39     aioresponses
40     pytest-aio
41     pytestCheckHook
42     syrupy
43   ];
45   meta = {
46     changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}";
47     description = "Python library to access the Solar-Log JSON interface";
48     homepage = "https://github.com/dontinelli/solarlog_cli";
49     license = lib.licenses.gpl3Plus;
50     maintainers = with lib.maintainers; [ dotlambda ];
51   };