Merge pull request #289907 from r-ryantm/auto-update/python312Packages.xiaomi-ble

python312Packages.xiaomi-ble: 0.25.2 -> 0.26.1
This commit is contained in:
Fabian Affolter 2024-02-19 13:28:30 +01:00 committed by GitHub
commit 46e55f2910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,21 +17,21 @@
buildPythonPackage rec {
pname = "xiaomi-ble";
version = "0.25.2";
format = "pyproject";
version = "0.26.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
repo = "xiaomi-ble";
rev = "refs/tags/v${version}";
hash = "sha256-awztZiUgEMGR8m/aXhDBLdm4IXIKIAHgX922m+PTTfg=";
hash = "sha256-ENs+n8YgOSQpN+UpYU6CI1McWPyh8hKKMUjPDUYRWjI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [