1{ lib, buildPythonPackage, fetchPypi, pygobject3, pythonAtLeast }:
2
3buildPythonPackage rec {
4 pname = "pydbus";
5 version = "0.6.0";
6
7 # Python 3.11 changed the API of the `inspect` module and pydbus was never
8 # updated to adapt; last commit was in 2018.
9 disabled = pythonAtLeast "3.11";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2";
14 };
15
16 propagatedBuildInputs = [ pygobject3 ];
17
18 pythonImportsCheck = [ "pydbus" ];
19
20 meta = {
21 homepage = "https://github.com/LEW21/pydbus";
22 description = "Pythonic DBus library";
23 license = lib.licenses.lgpl2Plus;
24 maintainers = with lib.maintainers; [ ];
25 };
26}