6 , gobject-introspection
15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
23 sha256 = "sha256-MyIjcTyKn1aC2th6fCOw4cIqrRKatk2s4QD5R9cm83A=";
28 python3Packages.wrapPython
36 python3Packages.python
41 pythonPath = with python3Packages; [
54 substituteInPlace $out/bin/blueberry \
55 --replace /usr/lib/blueberry $out/lib/blueberry
56 substituteInPlace $out/bin/blueberry-tray \
57 --replace /usr/lib/blueberry $out/lib/blueberry
58 substituteInPlace $out/etc/xdg/autostart/blueberry-obex-agent.desktop \
59 --replace /usr/lib/blueberry $out/lib/blueberry
60 substituteInPlace $out/etc/xdg/autostart/blueberry-tray.desktop \
61 --replace Exec=blueberry-tray Exec=$out/bin/blueberry-tray
62 substituteInPlace $out/lib/blueberry/blueberry-obex-agent.py \
63 --replace /usr/share $out/share
64 substituteInPlace $out/lib/blueberry/blueberry-tray.py \
65 --replace /usr/share $out/share
66 substituteInPlace $out/lib/blueberry/blueberry.py \
67 --replace '"bt-adapter"' '"${bluez-tools}/bin/bt-adapter"' \
68 --replace /usr/bin/pavucontrol ${pavucontrol}/bin/pavucontrol \
69 --replace /usr/lib/blueberry $out/lib/blueberry \
70 --replace /usr/share $out/share
71 substituteInPlace $out/lib/blueberry/rfkillMagic.py \
72 --replace /usr/bin/rfkill ${util-linux}/bin/rfkill \
73 --replace /usr/sbin/rfkill ${util-linux}/bin/rfkill \
74 --replace /usr/lib/blueberry $out/lib/blueberry
75 substituteInPlace $out/share/applications/blueberry.desktop \
76 --replace Exec=blueberry Exec=$out/bin/blueberry
78 glib-compile-schemas --strict $out/share/glib-2.0/schemas
86 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
87 wrapPythonProgramsIn $out/lib "$out $pythonPath"
91 description = "Bluetooth configuration tool";
92 homepage = "https://github.com/linuxmint/blueberry";
93 license = licenses.gpl3Plus;
94 platforms = platforms.linux;
95 maintainers = with maintainers; [ bobby285271 romildo ];