python311Packages.dbus-deviation: fix build

Cannot be installed using the legacy setuptools.installer any longer.
Does not detect sphinx, but also does not require it. Unmaintained since
2021.
This commit is contained in:
Martin Weinelt
2023-09-27 15:34:41 +02:00
parent 73e2ff80e4
commit 3e547e1985
@@ -9,12 +9,17 @@
buildPythonPackage rec {
pname = "dbus-deviation";
version = "0.6.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-4GuI7+IjiF0nJd9Rz3ybe0Y9HG8E6knUaQh0MY0Ot6M=";
};
postPatch = ''
sed -i "/'sphinx',/d" setup.py
'';
nativeBuildInputs = [
setuptools-git
sphinx