python3Packages.bluetooth-adapters: 2.1.0 -> 2.1.1 (#445523)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
bleak,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
@@ -23,6 +24,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-/FBrP4aceIX9dcZmm+k13PSAPuK4SQenjWqOAFPSvL8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/Anrijs/Aranet4-Python/pull/62
|
||||
(fetchpatch {
|
||||
name = "fix-for-failing-test-with-bleak-1.1.0.patch";
|
||||
url = "https://github.com/Anrijs/Aranet4-Python/pull/62/commits/0117633682050c77cd00ead1bce93375367d7a3c.patch";
|
||||
hash = "sha256-S4Di6bKbapCpDdOIy4sSiG9dO7OZq5ixjjK+ux4EEp0=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bleak";
|
||||
version = "1.0.1";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "hbldh";
|
||||
repo = "bleak";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JHTyTHMMZDD75baQK3nf4R+8eW0Tt62CMTXb8eRKp94=";
|
||||
hash = "sha256-z0Mxr1pUQWNEK01PKMV/CzpW+GeCRcv/+9BADts1FuU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bluetooth-adapters";
|
||||
version = "2.1.0";
|
||||
version = "2.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "bluetooth-adapters";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-euAyVSBmlMsPMUnxn8L7p0n939TQe4id+JTtUk4pHIY=";
|
||||
hash = "sha256-M9Me+fTaw//wGVd9Ss9iYB7RMgfkxJZz2lT60lHe3Vg=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@@ -71,7 +71,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Tools to enumerate and find Bluetooth Adapters";
|
||||
homepage = "https://github.com/Bluetooth-Devices/bluetooth-adapters";
|
||||
changelog = "https://github.com/bluetooth-devices/bluetooth-adapters/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/Bluetooth-Devices/bluetooth-adapters/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
teams = [ lib.teams.home-assistant ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user