python3Packages.hueble: 2.1.1 -> 2.2.0 (#504187)
This commit is contained in:
@@ -28,9 +28,9 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [
|
||||
bleak
|
||||
dbus-fast
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
dbus-fast
|
||||
bluetooth-adapters
|
||||
];
|
||||
|
||||
@@ -40,6 +40,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# ModuleNotFoundError: No module named 'dbus_fast'
|
||||
doCheck = stdenv.hostPlatform.isLinux;
|
||||
|
||||
pythonImportsCheck = [ "bleak_retry_connector" ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -5,18 +5,20 @@
|
||||
setuptools,
|
||||
bleak,
|
||||
bleak-retry-connector,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hueble";
|
||||
version = "2.1.1";
|
||||
version = "2.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flip-dots";
|
||||
repo = "HueBLE";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CMipY44tfuOQE2P77mH44stevg1IOd0MeF+cS6jkPnw=";
|
||||
hash = "sha256-BokZeQMgOseIlxs4u5BpYmGLKCM5IwSCvV8ic0ZVIeI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -28,8 +30,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "HueBLE" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/flip-dots/HueBLE/blob/${src.tag}/CHANGELOG.rst";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
aiohttp,
|
||||
bleak,
|
||||
bleak-retry-connector,
|
||||
bluetooth-adapters,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatch-regex-commit,
|
||||
@@ -33,6 +34,7 @@ buildPythonPackage rec {
|
||||
aiohttp
|
||||
bleak
|
||||
bleak-retry-connector
|
||||
bluetooth-adapters
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pynecil" ];
|
||||
|
||||
Reference in New Issue
Block a user