Unverified Commit 9533b01d authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #220074 from fabaff/eufylife-ble-client-bump

python310Packages.eufylife-ble-client: init at 0.1.7
parents f5eaf06b 22aa2d8c
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{ lib
, bleak
, bleak-retry-connector
, buildPythonPackage
, cryptography
, fetchPypi
, poetry-core
, pythonOlder
}:

buildPythonPackage rec {
  pname = "eufylife-ble-client";
  version = "0.1.7";
  format = "pyproject";

  disabled = pythonOlder "3.9";

  src = fetchPypi {
    pname = "eufylife_ble_client";
    inherit version;
    hash = "sha256-Vt9hHUVAM0d+BcotPUD9v8jXrcg7lEDVChLENUHd3rY=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    bleak
    bleak-retry-connector
    cryptography
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "eufylife_ble_client"
  ];

  meta = with lib; {
    description = "Module for parsing data from Eufy smart scales";
    homepage = "https://github.com/bdr99/eufylife-ble-client";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -1019,13 +1019,14 @@
      bluetooth-data-tools
      dbus-fast
      esphome-dashboard-api
      eufylife-ble-client
      fnvhash
      ifaddr
      pyserial
      pyudev
      sqlalchemy
      zeroconf
    ]; # missing inputs: eufylife_ble_client
    ];
    "everlights" = ps: with ps; [
      pyeverlights
    ];
@@ -4485,6 +4486,7 @@
    "epson"
    "escea"
    "esphome"
    "eufylife_ble"
    "everlights"
    "evil_genius_labs"
    "ezviz"
+2 −0
Original line number Diff line number Diff line
@@ -3171,6 +3171,8 @@ self: super: with self; {

  et_xmlfile = callPackage ../development/python-modules/et_xmlfile { };

  eufylife-ble-client = callPackage ../development/python-modules/eufylife-ble-client { };

  evaluate = callPackage ../development/python-modules/evaluate { };

  ev3dev2 = callPackage ../development/python-modules/ev3dev2 { };