2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pygobject3, pythonAtLeast }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydbus";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
# Python 3.11 changed the API of the `inspect` module and pydbus was never
|
|
|
|
# updated to adapt; last commit was in 2018.
|
|
|
|
disabled = pythonAtLeast "3.11";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pygobject3 ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
pythonImportsCheck = [ "pydbus" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/LEW21/pydbus";
|
|
|
|
description = "Pythonic DBus library";
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|