14 stdenv.mkDerivation (finalAttrs: {
18 src = fetchFromGitHub {
19 owner = "MusicPlayerDaemon";
21 rev = "v${finalAttrs.version}";
22 hash = "sha256-oVdnj3nsYvOHcIOgoamLamriuWu9lucWUQtxVmXZabs=";
27 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
34 python3Packages.sphinx
38 installShellCompletion --cmd mpc --bash $out/share/doc/mpc/contrib/mpc-completion.bash
42 rm $out/share/doc/mpc/contrib/mpc-completion.bash
46 homepage = "https://www.musicpd.org/clients/mpc/";
47 description = "Minimalist command line interface to MPD";
48 changelog = "https://raw.githubusercontent.com/MusicPlayerDaemon/mpc/refs/heads/master/NEWS";
49 license = lib.licenses.gpl2Plus;
51 maintainers = with lib.maintainers; [ AndersonTorres ];
52 platforms = lib.platforms.unix;