1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pygobject3,
6 dbus,
7 hatchling,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "dasbus";
13 version = "unstable-11-10-2022";
14 format = "pyproject";
15
16 src = fetchFromGitHub {
17 owner = "rhinstaller";
18 repo = pname;
19 rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d";
20 hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc=";
21 };
22
23 nativeBuildInputs = [ hatchling ];
24 propagatedBuildInputs = [ pygobject3 ];
25 nativeCheckInputs = [
26 dbus
27 pytestCheckHook
28 ];
29
30 meta = with lib; {
31 homepage = "https://github.com/rhinstaller/dasbus";
32 description = "DBus library in Python3";
33 license = licenses.lgpl21Only;
34 maintainers = with maintainers; [ moni ];
35 };
36}