depot/third_party/nixpkgs/pkgs/development/python-modules/pydbus/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

26 lines
692 B
Nix

{ lib, buildPythonPackage, fetchPypi, pygobject3, pythonAtLeast }:
buildPythonPackage rec {
pname = "pydbus";
version = "0.6.0";
# 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";
src = fetchPypi {
inherit pname version;
sha256 = "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2";
};
propagatedBuildInputs = [ pygobject3 ];
pythonImportsCheck = [ "pydbus" ];
meta = {
homepage = "https://github.com/LEW21/pydbus";
description = "Pythonic DBus library";
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ ];
};
}