1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 dbus-signature-pyparsing,
6 dbus-python,
7 pytestCheckHook,
8 hypothesis,
9 hs-dbus-signature,
10}:
11
12buildPythonPackage rec {
13 pname = "into-dbus-python";
14 version = "0.8.2";
15 format = "setuptools";
16
17 src = fetchFromGitHub {
18 owner = "stratis-storage";
19 repo = "into-dbus-python";
20 rev = "v${version}";
21 hash = "sha256-Ld/DyhVaDiWUXgqmvSmEHqFW2dcoRNM0O4X5DXE3UtM=";
22 };
23
24 propagatedBuildInputs = [
25 dbus-signature-pyparsing
26 dbus-python
27 ];
28
29 nativeCheckInputs = [
30 pytestCheckHook
31 hypothesis
32 hs-dbus-signature
33 ];
34
35 pythonImportsCheck = [ "into_dbus_python" ];
36
37 meta = with lib; {
38 description = "Transformer to dbus-python types";
39 homepage = "https://github.com/stratis-storage/into-dbus-python";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ nickcao ];
42 };
43}