Commit 4ef84296 authored by Doron Behar's avatar Doron Behar
Browse files

mpd-small: move to pkgs/by-name

parent 701d1647
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  mpdWithFeatures,
}:

mpdWithFeatures {
  features = [
    "webdav"
    "curl"
    "mms"
    "bzip2"
    "zzip"
    "nfs"
    "audiofile"
    "faad"
    "flac"
    "gme"
    "mpg123"
    "opus"
    "vorbis"
    "vorbisenc"
    "lame"
    "libsamplerate"
    "shout"
    "libmpdclient"
    "id3tag"
    "expat"
    "pcre"
    "sqlite"
    "qobuz"
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [
    "alsa"
    "systemd"
    "syslog"
    "io_uring"
  ]
  ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
    "mad"
    "jack"
  ];
}
+0 −37
Original line number Diff line number Diff line
@@ -293,42 +293,5 @@ let
in
{
  mpd = run { };
  mpd-small = run {
    features = [
      "webdav"
      "curl"
      "mms"
      "bzip2"
      "zzip"
      "nfs"
      "audiofile"
      "faad"
      "flac"
      "gme"
      "mpg123"
      "opus"
      "vorbis"
      "vorbisenc"
      "lame"
      "libsamplerate"
      "shout"
      "libmpdclient"
      "id3tag"
      "expat"
      "pcre"
      "sqlite"
      "qobuz"
    ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [
      "alsa"
      "systemd"
      "syslog"
      "io_uring"
    ]
    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
      "mad"
      "jack"
    ];
  };
  mpdWithFeatures = run;
}
+0 −1
Original line number Diff line number Diff line
@@ -10224,7 +10224,6 @@ with pkgs;
    (callPackages ../servers/mpd {
    })
    mpd
    mpd-small
    mpdWithFeatures
    ;