From e0c389cacc7bf9ed74944690842b806acc8f6562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jul 2022 21:43:57 +0200 Subject: [PATCH] python310Packages.dbus: cleanup, add empty meta.maintainers --- pkgs/development/python-modules/dbus/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix index 0685ca6fcca5..9d88bb4a9f17 100644 --- a/pkgs/development/python-modules/dbus/default.nix +++ b/pkgs/development/python-modules/dbus/default.nix @@ -4,8 +4,9 @@ buildPythonPackage rec { pname = "dbus-python"; version = "1.2.18"; - format = "other"; + disabled = isPyPy; + format = "other"; outputs = [ "out" "dev" ]; src = fetchPypi { @@ -17,11 +18,9 @@ buildPythonPackage rec { ./fix-includedir.patch ]; - disabled = isPyPy; - - preConfigure = if (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) then '' + preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) '' MACOSX_DEPLOYMENT_TARGET=10.16 - '' else null; + ''; configureFlags = [ "PYTHON=${python.pythonForBuild.interpreter}" @@ -36,9 +35,10 @@ buildPythonPackage rec { doCheck = isPy3k; checkInputs = [ dbus.out pygobject3 ]; - meta = { + meta = with lib; { description = "Python DBus bindings"; - license = lib.licenses.mit; + license = licenses.mit; platforms = dbus.meta.platforms; + maintainers = with maintainers; [ ]; }; }