diff --git a/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix b/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix index 85c3dc86ea0..87148b0af97 100644 --- a/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix +++ b/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix @@ -36,11 +36,6 @@ buildPythonApplication rec { -e '/asyncio/d' \ -e '/datetime/d' \ setup.cfg requirements.txt - - # Dependencies not correctly detected - sed -i \ - -e '/dbus-python/d' \ - setup.cfg requirements.txt ''; propagatedBuildInputs = [ diff --git a/pkgs/applications/terminal-emulators/terminator/default.nix b/pkgs/applications/terminal-emulators/terminator/default.nix index 04d4af0ccaf..0f1dd5ddd06 100644 --- a/pkgs/applications/terminal-emulators/terminator/default.nix +++ b/pkgs/applications/terminal-emulators/terminator/default.nix @@ -50,9 +50,6 @@ python3.pkgs.buildPythonApplication rec { postPatch = '' patchShebangs tests po - # dbus-python is correctly passed in propagatedBuildInputs, but for some reason setup.py complains. - # The wrapped terminator has the correct path added, so ignore this. - substituteInPlace setup.py --replace "'dbus-python'," "" ''; doCheck = false; diff --git a/pkgs/development/python-modules/python-dbusmock/default.nix b/pkgs/development/python-modules/python-dbusmock/default.nix index 1be846aa2ae..8af0a2c2fdb 100644 --- a/pkgs/development/python-modules/python-dbusmock/default.nix +++ b/pkgs/development/python-modules/python-dbusmock/default.nix @@ -21,11 +21,6 @@ buildPythonPackage rec { sha256 = "sha256-LV94F2f0Ir2Ayzk2YLL76TqeUuC0f7e+bH3vC/xKgfU="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace '"dbus-python"' "" - ''; - SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/swspotify/default.nix b/pkgs/development/python-modules/swspotify/default.nix index 1e1a9fd9cea..e2627660006 100644 --- a/pkgs/development/python-modules/swspotify/default.nix +++ b/pkgs/development/python-modules/swspotify/default.nix @@ -35,12 +35,6 @@ buildPythonPackage rec { requests ]; - postPatch = '' - # Detection of the platform doesn't always works with 1.2.3 - substituteInPlace pyproject.toml \ - --replace 'dbus-python = {version = "^1.2.16", platform = "linux"}' "" - ''; - # Tests want to use Dbus doCheck = false;