17 version = "unstable-2023-10-07";
19 src = fetchFromGitHub {
22 rev = "907138d8fc2b1709fb49d062d0b663a48eb210bd";
23 hash = "sha256-V2nDLq2ViC5Twve0EILBEYOdEavqgYB/TQq/T+ftfmk=";
27 substituteInPlace clerk_rating_client.service \
28 --replace "/usr" "$out"
31 nativeBuildInputs = [ makeWrapper ];
33 buildInputs = with perlPackages; [
53 install -D clerk.pl $out/bin/clerk
54 install -D clerk_rating_client $out/bin/clerk_rating_client
55 install -D clerk_rating_client.service $out/lib/systemd/user/clerk_rating_client.service
60 binPath = lib.makeBinPath [
70 wrapProgram $out/bin/clerk --set PERL5LIB $PERL5LIB --prefix PATH : "${binPath}"
71 wrapProgram $out/bin/clerk_rating_client --set PERL5LIB $PERL5LIB --prefix PATH : "${binPath}"
75 description = "An MPD client based on rofi/fzf";
76 homepage = "https://github.com/carnager/clerk";
77 license = licenses.mit;
78 maintainers = with maintainers; [ anderspapitto rewine ];
79 mainProgram = "clerk";
80 platforms = platforms.linux;