Commit 7b2440ca authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.bthome-ble: refactor

parent adc0a6e7
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -25,11 +25,16 @@ buildPythonPackage rec {
    hash = "sha256-umRPB0eUdFL4kIvqSfbw/Jzh7NZMY6WR4dK+1cyK3EI=";
  };

  nativeBuildInputs = [
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail " --cov=bthome_ble --cov-report=term-missing:skip-covered" ""
  '';

  build-system = [
    poetry-core
  ];

  propagatedBuildInputs = [
  dependencies = [
    bluetooth-data-tools
    bluetooth-sensor-state-data
    cryptography
@@ -41,11 +46,6 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace " --cov=bthome_ble --cov-report=term-missing:skip-covered" ""
  '';

  pythonImportsCheck = [
    "bthome_ble"
  ];