From 40fe7cac57102f656f9c93b720233266ccb48b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Sep 2024 11:58:54 -0700 Subject: [PATCH] python312Packages.dbus-fast: 2.22.1 -> 2.24.0 Diff: https://github.com/Bluetooth-Devices/dbus-fast/compare/refs/tags/v2.22.1...v2.24.0 Changelog: https://github.com/Bluetooth-Devices/dbus-fast/blob/refs/tags/v2.24.0/CHANGELOG.md --- .../python-modules/dbus-fast/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/dbus-fast/default.nix b/pkgs/development/python-modules/dbus-fast/default.nix index f018af1bce0c..26fb99e93dce 100644 --- a/pkgs/development/python-modules/dbus-fast/default.nix +++ b/pkgs/development/python-modules/dbus-fast/default.nix @@ -6,24 +6,24 @@ fetchFromGitHub, poetry-core, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, - wheel, }: buildPythonPackage rec { pname = "dbus-fast"; - version = "2.22.1"; + version = "2.24.0"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "dbus-fast"; rev = "refs/tags/v${version}"; - hash = "sha256-WT32nkRcS+JFCJCZNXXFm38nzttYLsqU98tJD7YBn9w="; + hash = "sha256-8M2SRyAkuxNbwT5NRN6cwJ82OtprfBZXi9Yqwh1NLVY="; }; # The project can build both an optimized cython version and an unoptimized @@ -34,21 +34,16 @@ buildPythonPackage rec { cython poetry-core setuptools - wheel ]; dependencies = [ async-timeout ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=dbus_fast --cov-report=term-missing:skip-covered" "" - ''; - pythonImportsCheck = [ "dbus_fast" "dbus_fast.aio" @@ -101,7 +96,7 @@ buildPythonPackage rec { meta = with lib; { description = "Faster version of dbus-next"; homepage = "https://github.com/bluetooth-devices/dbus-fast"; - changelog = "https://github.com/Bluetooth-Devices/dbus-fast/releases/tag/v${version}"; + changelog = "https://github.com/Bluetooth-Devices/dbus-fast/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };