From 616dc50aad9860aa4c3baf17c39efc468c39d205 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 May 2024 17:59:24 +0200 Subject: [PATCH 1/3] python312Packages.dbus-fast: 2.21.1 -> 2.21.2 Diff: https://github.com/Bluetooth-Devices/dbus-fast/compare/refs/tags/v2.21.1...v2.21.2 Changelog: https://github.com/Bluetooth-Devices/dbus-fast/releases/tag/v2.21.2 --- pkgs/development/python-modules/dbus-fast/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dbus-fast/default.nix b/pkgs/development/python-modules/dbus-fast/default.nix index d4db4490415b..9f7bfcc4cc03 100644 --- a/pkgs/development/python-modules/dbus-fast/default.nix +++ b/pkgs/development/python-modules/dbus-fast/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "dbus-fast"; - version = "2.21.1"; + version = "2.21.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-L3PZjxbcVfqWktWuN5l8JxfR1GyxuA+1ZtO/W2YqFZA="; + hash = "sha256-CLv8pNs6P2XRNK5wjo2SbRUuasJVXvd9LFABOwjDA9k="; }; # The project can build both an optimized cython version and an unoptimized From 5f0f2e5064a08ef5b90d4a46aa2b9184c689bcad Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 May 2024 18:01:14 +0200 Subject: [PATCH 2/3] python312Packages.dbus-fast: refactor --- pkgs/development/python-modules/dbus-fast/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dbus-fast/default.nix b/pkgs/development/python-modules/dbus-fast/default.nix index 9f7bfcc4cc03..88eedd9f8d96 100644 --- a/pkgs/development/python-modules/dbus-fast/default.nix +++ b/pkgs/development/python-modules/dbus-fast/default.nix @@ -14,13 +14,13 @@ buildPythonPackage rec { pname = "dbus-fast"; version = "2.21.2"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; - repo = pname; + repo = "dbus-fast"; rev = "refs/tags/v${version}"; hash = "sha256-CLv8pNs6P2XRNK5wjo2SbRUuasJVXvd9LFABOwjDA9k="; }; @@ -29,14 +29,14 @@ buildPythonPackage rec { # python version. This ensures we fail if we build the wrong one. env.REQUIRE_CYTHON = 1; - nativeBuildInputs = [ + build-system = [ cython poetry-core setuptools wheel ]; - propagatedBuildInputs = [ + dependencies = [ async-timeout ]; From 378345e8ffd8ae47ca9b35e210eb9189d83f480d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 May 2024 18:01:30 +0200 Subject: [PATCH 3/3] python312Packages.dbus-fast: format with nixfmt --- .../python-modules/dbus-fast/default.nix | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/dbus-fast/default.nix b/pkgs/development/python-modules/dbus-fast/default.nix index 88eedd9f8d96..736605ebece8 100644 --- a/pkgs/development/python-modules/dbus-fast/default.nix +++ b/pkgs/development/python-modules/dbus-fast/default.nix @@ -1,14 +1,15 @@ -{ lib -, async-timeout -, buildPythonPackage -, cython -, fetchFromGitHub -, poetry-core -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, setuptools -, wheel +{ + lib, + async-timeout, + buildPythonPackage, + cython, + fetchFromGitHub, + poetry-core, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + setuptools, + wheel, }: buildPythonPackage rec { @@ -36,9 +37,7 @@ buildPythonPackage rec { wheel ]; - dependencies = [ - async-timeout - ]; + dependencies = [ async-timeout ]; nativeCheckInputs = [ pytest-asyncio