···36 now point to an externally wrapped by default derivations, that allow you to
37 also add `extraPythonPackages` to the Python interpreter used by GNURadio.
38 Missing environmental variables needed for operational GUI were also added
39- (<link xlink:href="https://github.com/NixOS/nixpkgs/issues/75478">#7547</link>).
000000000040 </para>
41 </listitem>
42 <listitem>
···55 <xref linkend="opt-services.privoxy.settings"/>
56 (See <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">RFC 0042</link>
57 for the motivation).
000000058 </para>
59 </listitem>
60 </itemizedlist>
···575 have been removed. You should set your own according to the
576 <link xlink:href="https://kafka.apache.org/documentation/#java">upstream documentation</link>
577 for your Kafka version.
0000000000000000000000000000000578 </para>
579 </listitem>
580 </itemizedlist>
···36 now point to an externally wrapped by default derivations, that allow you to
37 also add `extraPythonPackages` to the Python interpreter used by GNURadio.
38 Missing environmental variables needed for operational GUI were also added
39+ (<link xlink:href="https://github.com/NixOS/nixpkgs/issues/75478">#75478</link>).
40+ </para>
41+ </listitem>
42+ <listitem>
43+ <para>
44+ <link xlink:href="https://www.gnuradio.org/">GNURadio</link> has a
45+ <code>pkgs</code> attribute set, and there's a <code>gnuradio.callPackage</code>
46+ function that extends <code>pkgs</code> with a <code>mkDerivation</code>, and a
47+ <code>mkDerivationWith</code>, like Qt5. Now all <code>gnuradio.pkgs</code> are
48+ defined with <code>gnuradio.callPackage</code> and some packages that depend
49+ on gnuradio are defined with this as well.
50 </para>
51 </listitem>
52 <listitem>
···65 <xref linkend="opt-services.privoxy.settings"/>
66 (See <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">RFC 0042</link>
67 for the motivation).
68+ </para>
69+ </listitem>
70+ <listitem>
71+ <para>
72+ <link xlink:href="https://kodi.tv/">Kodi</link> has been updated to version 19.0 "Matrix". See
73+ the <link xlink:href="https://kodi.tv/article/kodi-190-matrix-release">announcement</link> for
74+ further details.
75 </para>
76 </listitem>
77 </itemizedlist>
···592 have been removed. You should set your own according to the
593 <link xlink:href="https://kafka.apache.org/documentation/#java">upstream documentation</link>
594 for your Kafka version.
595+ </para>
596+ </listitem>
597+ <listitem>
598+ <para>
599+ The <package>kodi</package> package has been modified to allow concise addon management. Consider
600+ the following configuration from previous releases of NixOS to install <package>kodi</package>,
601+ including the <package>kodiPackages.inputstream-adaptive</package> and <package>kodiPackages.vfs-sftp</package>
602+ addons:
603+604+ <programlisting>
605+environment.systemPackages = [
606+ pkgs.kodi
607+];
608+609+nixpkgs.config.kodi = {
610+ enableInputStreamAdaptive = true;
611+ enableVFSSFTP = true;
612+};
613+ </programlisting>
614+615+ All Kodi <literal>config</literal> flags have been removed, and as a result the above configuration
616+ should now be written as:
617+618+ <programlisting>
619+environment.systemPackages = [
620+ (pkgs.kodi.withPackages (p: with p; [
621+ inputstream-adaptive
622+ vfs-sftp
623+ ]))
624+];
625+ </programlisting>
626 </para>
627 </listitem>
628 </itemizedlist>
+16-4
nixos/modules/services/misc/mautrix-telegram.nix
···6 dataDir = "/var/lib/mautrix-telegram";
7 registrationFile = "${dataDir}/telegram-registration.yaml";
8 cfg = config.services.mautrix-telegram;
9- # TODO: switch to configGen.json once RFC42 is implemented
10- settingsFile = pkgs.writeText "mautrix-telegram-settings.json" (builtins.toJSON cfg.settings);
01112in {
13 options = {
···15 enable = mkEnableOption "Mautrix-Telegram, a Matrix-Telegram hybrid puppeting/relaybot bridge";
1617 settings = mkOption rec {
18- # TODO: switch to types.config.json as prescribed by RFC42 once it's implemented
19- type = types.attrs;
20 apply = recursiveUpdate default;
021 default = {
22 appservice = rec {
23 database = "sqlite:///${dataDir}/mautrix-telegram.db";
···124 after = [ "network-online.target" ] ++ cfg.serviceDependencies;
125126 preStart = ''
0000000000127 # generate the appservice's registration file if absent
128 if [ ! -f '${registrationFile}' ]; then
129 ${pkgs.mautrix-telegram}/bin/mautrix-telegram \
···159 --config='${settingsFile}'
160 '';
161 };
00162 };
163 };
164
···1920 NIX_CFLAGS_COMPILE = "-I${graphicsmagick}/include/GraphicsMagick";
2122- enableParallelBuilding = true;
23-24 meta = with lib; {
25 description = "A cross-platform image editor with a powerful features and a very friendly graphical user interface";
26 homepage = "https://photoflare.io";
27 maintainers = [ maintainers.omgbebebe ];
28- license = licenses.gpl3;
29 platforms = platforms.linux;
30 };
31}
···1920 NIX_CFLAGS_COMPILE = "-I${graphicsmagick}/include/GraphicsMagick";
210022 meta = with lib; {
23 description = "A cross-platform image editor with a powerful features and a very friendly graphical user interface";
24 homepage = "https://photoflare.io";
25 maintainers = [ maintainers.omgbebebe ];
26+ license = licenses.gpl3Plus;
27 platforms = platforms.linux;
28 };
29}
···1+{ lib
2+, unwrapped
3+}:
4+5+mkDerivation:
6+7+args:
8+9+# Check if it's supposed to not get built for the current gnuradio version
10+if (builtins.hasAttr "disabledForGRafter" args) &&
11+(lib.versionAtLeast unwrapped.versionAttr.major args.disabledForGRafter) then
12+let name = args.name or "${args.pname}"; in
13+throw "Package ${name} is incompatible with GNURadio ${unwrapped.versionAttr.major}"
14+else
15+16+let
17+ args_ = {
18+ enableParallelBuilding = args.enableParallelBuilding or true;
19+ nativeBuildInputs = (args.nativeBuildInputs or []);
20+ # We add gnuradio and volk itself by default - most gnuradio based packages
21+ # will not consider it a depenency worth mentioning and it will almost
22+ # always be needed
23+ buildInputs = (args.buildInputs or []) ++ [ unwrapped unwrapped.volk ];
24+ };
25+in mkDerivation (args // args_)