From dd69fcedb9e199c2b24e4ac423290cf34276af58 Mon Sep 17 00:00:00 2001
From: Martin Weinelt <hexa@darmstadt.ccc.de>
Date: Tue, 31 Oct 2023 00:44:47 +0100
Subject: [PATCH] python311Packages.pydbus: fix typo and use pep517 builder

Fixes: 0ec908a1b084 ("python311Packages.pydbus: patch python311 co...")
---
 pkgs/development/python-modules/pydbus/default.nix | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/pkgs/development/python-modules/pydbus/default.nix b/pkgs/development/python-modules/pydbus/default.nix
index 64dafa97db7c..fc8965fd3538 100644
--- a/pkgs/development/python-modules/pydbus/default.nix
+++ b/pkgs/development/python-modules/pydbus/default.nix
@@ -1,13 +1,14 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
+, setuptools
 , pygobject3
 }:
 
 buildPythonPackage rec {
   pname = "pydbus";
   version = "0.6.0";
-  pyproejct = true;
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "LEW21";
@@ -21,6 +22,10 @@ buildPythonPackage rec {
       --replace "getargspec" "getfullargspec"
   '';
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   propagatedBuildInputs = [
     pygobject3
   ];