Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / solarlog-cli / default.nix
blob4b5d16a74e9e19afaedc80664f740350aa781707
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.4.0";
18   pyproject = true;
20   disabled = pythonOlder "3.12";
22   src = fetchFromGitHub {
23     owner = "dontinelli";
24     repo = "solarlog_cli";
25     tag = "v${version}";
26     hash = "sha256-G7DZHFg0NH3rY/tbWpXDchYHkrvG8dUvINNxBIUKnzk=";
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   };