lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 46 lines 1.1 kB view raw
1{ lib, stdenv, fetchFromGitHub, makeWrapper, perlPackages }: 2 3let 4 perlLibs = with perlPackages; [ NetDBus XMLTwig XMLParser ]; 5in 6stdenv.mkDerivation { 7 pname = "hsphfpd"; 8 version = "2020-12-05"; 9 10 src = fetchFromGitHub { 11 owner = "pali"; 12 repo = "hsphfpd-prototype"; 13 rev = "d294d064879591e9570ca3f444fa3eee2f269df8"; 14 sha256 = "0pm5rbsfrm04hnifzdmsyz17rjk8h9h6d19jaikjc5y36z03xf1c"; 15 }; 16 17 nativeBuildInputs = [ makeWrapper ]; 18 buildInputs = [ perlPackages.perl ]; 19 dontBuild = true; 20 21 installPhase = '' 22 runHook preInstall 23 24 mkdir -p $out/share/dbus-1/system.d 25 cp org.hsphfpd.conf $out/share/dbus-1/system.d 26 27 mkdir -p $out/bin 28 cp *.pl $out/bin 29 30 runHook postInstall 31 ''; 32 33 postFixup = '' 34 for f in $out/bin/*.pl; do 35 wrapProgram "$f" --set PERL5LIB "${perlPackages.makePerlPath perlLibs}" 36 done 37 ''; 38 39 meta = with lib; { 40 description = "Bluetooth HSP/HFP daemon"; 41 homepage = "https://github.com/pali/hsphfpd-prototype"; 42 license = licenses.artistic1; 43 maintainers = with maintainers; [ gebner ]; 44 platforms = platforms.linux; 45 }; 46}