10 perlLibs = with perlPackages; [
18 version = "2020-12-05";
20 src = fetchFromGitHub {
22 repo = "hsphfpd-prototype";
23 rev = "d294d064879591e9570ca3f444fa3eee2f269df8";
24 sha256 = "0pm5rbsfrm04hnifzdmsyz17rjk8h9h6d19jaikjc5y36z03xf1c";
27 nativeBuildInputs = [ makeWrapper ];
28 buildInputs = [ perlPackages.perl ];
34 mkdir -p $out/share/dbus-1/system.d
35 cp org.hsphfpd.conf $out/share/dbus-1/system.d
44 for f in $out/bin/*.pl; do
45 wrapProgram "$f" --set PERL5LIB "${perlPackages.makePerlPath perlLibs}"
50 description = "Bluetooth HSP/HFP daemon";
51 homepage = "https://github.com/pali/hsphfpd-prototype";
52 license = licenses.artistic1;
53 maintainers = with maintainers; [ gebner ];
54 platforms = platforms.linux;