1{
2 pkgs,
3 lib,
4 buildPythonPackage,
5 fetchPypi,
6 pkg-config,
7}:
8
9let
10 pname = "sdbus";
11 version = "0.14.0";
12in
13buildPythonPackage {
14 inherit pname version;
15
16 nativeBuildInputs = [ pkg-config ];
17 buildInputs = [ pkgs.systemd ];
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-QdYbdswFqepB0Q1woR6fmobtlfQPcTYwxeGDQODkx28=";
22 };
23
24 meta = with lib; {
25 description = "Modern Python library for D-Bus";
26 homepage = "https://github.com/python-sdbus/python-sdbus";
27 license = licenses.lgpl2;
28 maintainers = with maintainers; [ camelpunch ];
29 platforms = platforms.linux;
30 };
31}