From a507e4934859005e1c65107046b9f79b1eba3e6d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Dec 2023 00:59:47 +0100 Subject: [PATCH] python312Packages.dbus-python: disable --- pkgs/development/python-modules/dbus-python/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dbus-python/default.nix b/pkgs/development/python-modules/dbus-python/default.nix index f929f58de1c3..be7504e5dc37 100644 --- a/pkgs/development/python-modules/dbus-python/default.nix +++ b/pkgs/development/python-modules/dbus-python/default.nix @@ -1,11 +1,12 @@ { lib, stdenv, fetchPypi, buildPythonPackage, python, pkg-config, dbus, dbus-glib, isPyPy -, ncurses, pygobject3, isPy3k }: +, ncurses, pygobject3, isPy3k, pythonAtLeast }: buildPythonPackage rec { pname = "dbus-python"; version = "1.2.18"; - disabled = isPyPy; + # ModuleNotFoundError: No module named 'distutils' + disabled = isPyPy || pythonAtLeast "3.12"; format = "other"; outputs = [ "out" "dev" ];