···65656666in {
6767 imports = [
6868- (mkRenamedOptionModule [ "services" "snapserver" "controlPort"] [ "services" "snapserver" "tcp" "port" ])
6868+ (mkRenamedOptionModule [ "services" "snapserver" "controlPort" ] [ "services" "snapserver" "tcp" "port" ])
6969 ];
70707171 ###### interface
···200200 location = mkOption {
201201 type = types.oneOf [ types.path types.str ];
202202 description = ''
203203- The location of the pipe, file, Librespot/Airplay/process binary, or a TCP address.
204204- Use an empty string for alsa.
203203+ For type <literal>pipe</literal> or <literal>file</literal>, the path to the pipe or file.
204204+ For type <literal>librespot</literal>, <literal>airplay</literal> or <literal>process</literal>, the path to the corresponding binary.
205205+ For type <literal>tcp</literal>, the <literal>host:port</literal> address to connect to or listen on.
206206+ For type <literal>meta</literal>, a list of stream names in the form <literal>/one/two/...</literal>. Don't forget the leading slash.
207207+ For type <literal>alsa</literal>, use an empty string.
208208+ '';
209209+ example = literalExample ''
210210+ "/path/to/pipe"
211211+ "/path/to/librespot"
212212+ "192.168.1.2:4444"
213213+ "/MyTCP/Spotify/MyPipe"
205214 '';
206215 };
207216 type = mkOption {
208208- type = types.enum [ "pipe" "librespot" "airplay" "file" "process" "tcp" "alsa" "spotify" ];
217217+ type = types.enum [ "pipe" "librespot" "airplay" "file" "process" "tcp" "alsa" "spotify" "meta" ];
209218 default = "pipe";
210219 description = ''
211220 The type of input stream.
···1818 # The websites youtube-dl deals with are a very moving target. That means that
1919 # downloads break constantly. Because of that, updates should always be backported
2020 # to the latest stable release.
2121- version = "2021.04.01";
2121+ version = "2021.04.07";
22222323 src = fetchurl {
2424 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
2525- sha256 = "1vw9l32bv115129v1lfar626y3vivvxkp36bc1phjcrsjfayz67h";
2525+ sha256 = "02d51l6gdjr3zhhi7ydf5kzv8dv4jzq0ygja7zb2h9k7hnl0l27m";
2626 };
27272828 nativeBuildInputs = [ installShellFiles makeWrapper ];