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

Merge pull request #305254 from fabaff/bluetooth-auto-recovery-bump

python312Packages.bluetooth-auto-recovery: 1.4.0 -> 1.4.1
parents 17295213 8b42c3f4
Loading
Loading
Loading
Loading
+18 −23
Original line number Diff line number Diff line
{ lib
, async-timeout
, bluetooth-adapters
, btsocket
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pyric
, pytestCheckHook
, pythonOlder
, usb-devices
{
  lib,
  async-timeout,
  bluetooth-adapters,
  btsocket,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pyric,
  pytestCheckHook,
  pythonOlder,
  usb-devices,
}:

buildPythonPackage rec {
  pname = "bluetooth-auto-recovery";
  version = "1.4.0";
  version = "1.4.1";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -22,7 +23,7 @@ buildPythonPackage rec {
    owner = "Bluetooth-Devices";
    repo = "bluetooth-auto-recovery";
    rev = "refs/tags/v${version}";
    hash = "sha256-fXR7leW+eXaQZ22IyeVhpS5/MOnuAiunUGMdtfVrlos=";
    hash = "sha256-4LgEb90QsjTMsVat6fe9B3b6f93bHTgJgQNsRbyti2M=";
  };

  postPatch = ''
@@ -30,11 +31,9 @@ buildPythonPackage rec {
      --replace-fail " --cov=bluetooth_auto_recovery --cov-report=term-missing:skip-covered" ""
  '';

  nativeBuildInputs = [
    poetry-core
  ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [
  dependencies = [
    async-timeout
    bluetooth-adapters
    btsocket
@@ -42,13 +41,9 @@ buildPythonPackage rec {
    usb-devices
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];
  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [
    "bluetooth_auto_recovery"
  ];
  pythonImportsCheck = [ "bluetooth_auto_recovery" ];

  meta = with lib; {
    description = "Library for recovering Bluetooth adapters";