Commit 03d9644c authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.medcom-ble: init at 0.1.1

parent 777751dd
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 ];
  };
}
+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 { };