Unverified Commit 66771f55 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python311Packages.mopeka-iot-ble: modernize

parent 8a4846b7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
buildPythonPackage rec {
  pname = "mopeka-iot-ble";
  version = "0.5.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.9";

@@ -24,6 +24,11 @@ buildPythonPackage rec {
    hash = "sha256-m27As3tB77JbgY0kDDJ6kmYFTv2O/Sh6y9tFiKDIjbI=";
  };

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

  nativeBuildInputs = [
    poetry-core
  ];
@@ -39,11 +44,6 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

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

  pythonImportsCheck = [
    "mopeka_iot_ble"
  ];