Unverified Commit 9821c68f authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.medcom-ble: init at 0.1.1 (#434612)

parents 38b8ea51 966d0984
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  poetry-core,
  bleak,
  bleak-retry-connector,
}:

buildPythonPackage rec {
  pname = "medcom-ble";
  version = "0.1.1";
  pyproject = true;

  src = fetchPypi {
    pname = "medcom_ble";
    inherit version;
    hash = "sha256-PQ0ZOFLGVllz/Jxw2CN6D5Ypza5/Ck3dtk3DuB+eHiA=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    bleak
    bleak-retry-connector
  ];

  # Package has no tests
  doCheck = false;

  pythonImportsCheck = [
    "medcom_ble"
  ];

  meta = {
    description = "Library to communicate with Medcom BLE radiation monitors";
    homepage = "https://github.com/elafargue/medcom-ble";
    changelog = "https://github.com/elafargue/medcom-ble/blob/main/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -3488,12 +3488,13 @@
        hassil
        home-assistant-intents
        ifaddr
        medcom-ble
        mutagen
        pymicro-vad
        pyserial
        pyspeex-noise
        zeroconf
      ]; # missing inputs: medcom-ble
      ];
    "media_extractor" =
      ps:
      with ps;
@@ -7367,6 +7368,7 @@
    "mcp_server"
    "mealie"
    "meater"
    "medcom_ble"
    "media_extractor"
    "media_player"
    "media_source"
+2 −0
Original line number Diff line number Diff line
@@ -9080,6 +9080,8 @@ self: super: with self; {
  medallion = callPackage ../development/python-modules/medallion { };
  medcom-ble = callPackage ../development/python-modules/medcom-ble { };
  mediafile = callPackage ../development/python-modules/mediafile { };
  mediafire-dl = callPackage ../development/python-modules/mediafire-dl { };