Commit 0336e9c6 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent ec8e0d51
Loading
Loading
Loading
Loading
+17 −5
Original line number Diff line number Diff line
@@ -5,11 +5,16 @@
  fetchFromGitHub,
  hatchling,
  aiohttp,
  mashumaro,
  aioresponses,
  pytest-aio,
  pytestCheckHook,
  syrupy,
}:

buildPythonPackage rec {
  pname = "solarlog-cli";
  version = "0.1.6";
  version = "0.2.0";
  pyproject = true;

  disabled = pythonOlder "3.12";
@@ -18,17 +23,24 @@ buildPythonPackage rec {
    owner = "dontinelli";
    repo = "solarlog_cli";
    rev = "refs/tags/v${version}";
    hash = "sha256-Bliq1n6xH0cZQHueiGDyalIo0zms8zCSpUGq2KH5xZY=";
    hash = "sha256-x9MovIKFImu60Ns2sJTy71S22cR9Az/yNMWzGM50y7Y=";
  };

  build-system = [ hatchling ];

  dependencies = [ aiohttp ];
  dependencies = [
    aiohttp
    mashumaro
  ];

  pythonImportsCheck = [ "solarlog_cli" ];

  # upstream has no tests
  doCheck = false;
  nativeCheckInputs = [
    aioresponses
    pytest-aio
    pytestCheckHook
    syrupy
  ];

  meta = {
    changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}";