Unverified Commit 48c5ac5c authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #250625 from fabaff/gardena-bluetooth

python311Packages.aiopegelonline: init at 0.0.6
parents eb6b612b 336c67eb
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "aiopegelonline";
  version = "0.0.6";
  format = "setuptools";

  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "mib1185";
    repo = "aiopegelonline";
    rev = "refs/tags/v${version}";
    hash = "sha256-UbH5S+BfXMAurEvPx0sOzNoV/yypbMCPN3Y3cSherfQ=";
  };

  propagatedBuildInputs = [
    aiohttp
  ];

  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "aiopegelonline"
  ];

  meta = with lib; {
    description = "Library to retrieve data from PEGELONLINE";
    homepage = "https://github.com/mib1185/aiopegelonline";
    changelog = "https://github.com/mib1185/aiopegelonline/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -3108,7 +3108,8 @@
    "peco_opower" = ps: with ps; [
    ];
    "pegel_online" = ps: with ps; [
    ]; # missing inputs: aiopegelonline
      aiopegelonline
    ];
    "pencom" = ps: with ps; [
      pencompy
    ];
@@ -5357,6 +5358,7 @@
    "panel_custom"
    "panel_iframe"
    "peco"
    "pegel_online"
    "persistent_notification"
    "person"
    "philips_js"
+2 −0
Original line number Diff line number Diff line
@@ -312,6 +312,8 @@ self: super: with self; {
  aiooss2 = callPackage ../development/python-modules/aiooss2 { };
  aiopegelonline = callPackage ../development/python-modules/aiopegelonline { };
  aiopg = callPackage ../development/python-modules/aiopg { };
  aioprocessing = callPackage ../development/python-modules/aioprocessing { };