17 gobject-introspection,
25 # Cannot just add it to path in preCheck since that attribute will be passed to
26 # mkDerivation even with doCheck = false, causing a dependency cycle.
27 pbap-client = runCommand "pbap-client" { } ''
29 ln -s "${bluez.test}/test/pbap-client" "$out/bin/pbap-client"
32 buildPythonPackage rec {
33 pname = "python-dbusmock";
37 src = fetchFromGitHub {
40 rev = "refs/tags/${version}";
41 hash = "sha256-TOs6wAZDcSD1eP+Hbj78YXoAtKbReC5di5QSpQdwp8E=";
47 url = "https://github.com/martinpitt/python-dbusmock/commit/1a8d8722068ef7e5f061336047a72d1a0f253b98.patch";
48 hash = "sha256-0j3UXsTMDh1+UolkmoLQXlwHXve81yKiGJ7gDWNZVPY=";
51 name = "os-release.patch";
52 url = "https://github.com/martinpitt/python-dbusmock/commit/4b99cff50e8c741f20aef4527b27ccdb2a4053d2.patch";
53 hash = "sha256-Xcovv44JeuTvPAtXWJvWE+MxlyloClSJGKZz+C3P5bE=";
62 dependencies = [ dbus-python ];
75 # wants to call upower, which is a reverse-dependency
76 "test_dbusmock_test_template"
77 # Failed to execute program org.TestSystem: No such file or directory
78 "test_system_service_activation"
79 "test_session_service_activation"
83 changelog = "https://github.com/martinpitt/python-dbusmock/releases/tag/${version}";
84 description = "Mock D-Bus objects for tests";
85 homepage = "https://github.com/martinpitt/python-dbusmock";
86 license = licenses.lgpl3Plus;
87 maintainers = with maintainers; [ callahad ];
88 platforms = platforms.linux;