1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, into-dbus-python
5, dbus-python
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "dbus-python-client-gen";
11 version = "0.8";
12
13 src = fetchFromGitHub {
14 owner = "stratis-storage";
15 repo = pname;
16 rev = "v${version}";
17 hash = "sha256-nSzxT65WHBVct5pGHmIAHJXftd0tKZeK/argN+V9xcs=";
18 };
19
20 propagatedBuildInputs = [
21 into-dbus-python
22 dbus-python
23 ];
24
25 checkInputs = [
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [ "dbus_python_client_gen" ];
30
31 meta = with lib; {
32 description = "A Python library for generating dbus-python client code";
33 homepage = "https://github.com/stratis-storage/dbus-python-client-gen";
34 license = licenses.mpl20;
35 maintainers = with maintainers; [ nickcao ];
36 };
37}