Commit 92c27f38 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.sensorpro-ble: update rev

parent 5ee9d70e
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -19,10 +19,15 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "Bluetooth-Devices";
    repo = pname;
    rev = "v${version}";
    rev = "refs/tags/v${version}";
    hash = "sha256-Zqa6qa0Jw79Iu4VEw6KN0GsZcC1X7OpiYUiyT4zwKyY=";
  };

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

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

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

  pythonImportsCheck = [
    "sensorpro_ble"
  ];