Unverified Commit 8855e303 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #293188 from fabaff/solax-bump

python311Packages.solax: 0.3.2 -> 0.3.3
parents 59c18ec8 a3d6d16b
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
, pytest-asyncio
, pytest-cov
, pytest-httpserver
, pytestCheckHook
, pythonOlder
@@ -13,14 +13,14 @@

buildPythonPackage rec {
  pname = "solax";
  version = "0.3.2";
  format = "setuptools";
  version = "0.3.3";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7UDTG8rw9XJd5LPqcAe2XyE7DQa96dBj9YOcgW+/aFc=";
    hash = "sha256-+e0z65qMjj1vQ3BR6kmLs+S5CF5chSaQ3mHQPIo++bQ=";
  };

  nativeBuildInputs = [
@@ -29,12 +29,12 @@ buildPythonPackage rec {

  propagatedBuildInputs = [
    aiohttp
    async-timeout
    voluptuous
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-cov
    pytest-httpserver
    pytestCheckHook
  ];
@@ -43,9 +43,16 @@ buildPythonPackage rec {
    "solax"
  ];

  disabledTests = [
    # Tests require network access
    "test_discovery"
    "test_smoke"
  ];

  meta = with lib; {
    description = "Python wrapper for the Solax Inverter API";
    homepage = "https://github.com/squishykid/solax";
    changelog = "https://github.com/squishykid/solax/releases/tag/v${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };