Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1df29ee4562a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 01a4d350c7d8
Choose a head ref
Loading
Showing with 1,930 additions and 1,033 deletions.
  1. +49 −1 nixos/doc/manual/release-notes/rl-2105.xml
  2. +16 −4 nixos/modules/services/misc/mautrix-telegram.nix
  3. +2 −1 nixos/modules/services/monitoring/prometheus/exporters.nix
  4. +40 −0 nixos/modules/services/monitoring/prometheus/exporters/jitsi.nix
  5. +23 −0 nixos/tests/prometheus-exporters.nix
  6. +2 −2 pkgs/applications/audio/rosegarden/default.nix
  7. +2 −2 pkgs/applications/display-managers/lightdm-mini-greeter/default.nix
  8. +1 −3 pkgs/applications/graphics/photoflare/default.nix
  9. +7 −4 pkgs/applications/misc/pueue/default.nix
  10. +6 −4 pkgs/applications/networking/browsers/asuka/default.nix
  11. +3 −3 pkgs/applications/networking/cluster/terragrunt/default.nix
  12. +6 −4 pkgs/applications/networking/mailreaders/aerc/default.nix
  13. +19 −13 pkgs/applications/radio/gnss-sdr/default.nix
  14. +22 −33 pkgs/applications/radio/gnuradio/3.7.nix
  15. +284 −0 pkgs/applications/radio/gnuradio/3.8.nix
  16. +0 −53 pkgs/applications/radio/gnuradio/ais.nix
  17. +64 −89 pkgs/applications/radio/gnuradio/default.nix
  18. +0 −37 pkgs/applications/radio/gnuradio/gsm.nix
  19. +0 −38 pkgs/applications/radio/gnuradio/limesdr.nix
  20. +0 −45 pkgs/applications/radio/gnuradio/osmosdr.nix
  21. +0 −36 pkgs/applications/radio/gnuradio/rds.nix
  22. +4 −5 pkgs/applications/radio/gnuradio/shared.nix
  23. +86 −39 pkgs/applications/radio/gnuradio/wrapper.nix
  24. +30 −6 pkgs/applications/radio/gqrx/default.nix
  25. +9 −10 pkgs/applications/radio/inspectrum/default.nix
  26. +44 −24 pkgs/applications/radio/qradiolink/default.nix
  27. +159 −0 pkgs/applications/radio/uhd/3.5.nix
  28. +9 −8 pkgs/applications/radio/uhd/default.nix
  29. +12 −248 pkgs/applications/video/kodi/default.nix
  30. +79 −76 pkgs/applications/video/kodi/{plugins.nix → packages.nix}
  31. +242 −0 pkgs/applications/video/kodi/unwrapped.nix
  32. +6 −13 pkgs/applications/video/kodi/wrapper.nix
  33. +2 −2 pkgs/data/fonts/twitter-color-emoji/default.nix
  34. +45 −0 pkgs/development/gnuradio-modules/ais/default.nix
  35. +48 −0 pkgs/development/gnuradio-modules/gsm/default.nix
  36. +61 −0 pkgs/development/gnuradio-modules/limesdr/default.nix
  37. +25 −0 pkgs/development/gnuradio-modules/mkDerivation.nix
  38. +25 −16 pkgs/{applications/radio/gnuradio/nacl.nix → development/gnuradio-modules/nacl/default.nix}
  39. +86 −0 pkgs/development/gnuradio-modules/osmosdr/default.nix
  40. +59 −0 pkgs/development/gnuradio-modules/rds/default.nix
  41. +3 −0 pkgs/development/libraries/iniparser/default.nix
  42. +12 −0 pkgs/development/libraries/iniparser/iniparser.pc.in
  43. +2 −2 pkgs/development/libraries/libdigidocpp/default.nix
  44. +2 −2 pkgs/development/libraries/libhandy/default.nix
  45. +2 −2 pkgs/development/libraries/libisoburn/default.nix
  46. +2 −2 pkgs/development/libraries/liblinear/default.nix
  47. +2 −2 pkgs/development/libraries/libofx/default.nix
  48. +2 −2 pkgs/development/libraries/oneDNN/default.nix
  49. +51 −0 pkgs/development/libraries/volk/default.nix
  50. +16 −7 pkgs/development/python-modules/Rtree/default.nix
  51. +3 −3 pkgs/development/python-modules/convertdate/default.nix
  52. +1 −0 pkgs/development/python-modules/cryptography/default.nix
  53. +2 −2 pkgs/development/tools/analysis/tfsec/default.nix
  54. +3 −3 pkgs/development/tools/misc/terraform-ls/default.nix
  55. +3 −3 pkgs/servers/minio/default.nix
  56. +2 −2 pkgs/servers/monitoring/loki/default.nix
  57. +23 −0 pkgs/servers/monitoring/prometheus/jitsi-exporter.nix
  58. +3 −3 pkgs/servers/rtsp-simple-server/default.nix
  59. +3 −3 pkgs/tools/admin/clair/default.nix
  60. +2 −2 pkgs/tools/filesystems/reiser4progs/default.nix
  61. +7 −4 pkgs/tools/graphics/resvg/default.nix
  62. +2 −2 pkgs/tools/inputmethods/ibus-engines/ibus-anthy/default.nix
  63. +2 −2 pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix
  64. +3 −3 pkgs/tools/misc/direnv/default.nix
  65. +2 −2 pkgs/tools/networking/minio-client/default.nix
  66. +3 −3 pkgs/tools/package-management/emplace/default.nix
  67. +3 −3 pkgs/tools/security/age/default.nix
  68. +3 −3 pkgs/tools/security/teler/default.nix
  69. +3 −3 pkgs/tools/security/terrascan/default.nix
  70. +6 −4 pkgs/tools/typesetting/scdoc/default.nix
  71. +6 −4 pkgs/tools/wayland/wev/default.nix
  72. +6 −4 pkgs/tools/wayland/wlsunset/default.nix
  73. +6 −4 pkgs/tools/wayland/wshowkeys/default.nix
  74. +21 −9 pkgs/top-level/aliases.nix
  75. +94 −124 pkgs/top-level/all-packages.nix
  76. +47 −0 pkgs/top-level/gnuradio-packages.nix
50 changes: 49 additions & 1 deletion nixos/doc/manual/release-notes/rl-2105.xml
Original file line number Diff line number Diff line change
@@ -36,7 +36,17 @@
now point to an externally wrapped by default derivations, that allow you to
also add `extraPythonPackages` to the Python interpreter used by GNURadio.
Missing environmental variables needed for operational GUI were also added
(<link xlink:href="https://github.com/NixOS/nixpkgs/issues/75478">#7547</link>).
(<link xlink:href="https://github.com/NixOS/nixpkgs/issues/75478">#75478</link>).
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://www.gnuradio.org/">GNURadio</link> has a
<code>pkgs</code> attribute set, and there's a <code>gnuradio.callPackage</code>
function that extends <code>pkgs</code> with a <code>mkDerivation</code>, and a
<code>mkDerivationWith</code>, like Qt5. Now all <code>gnuradio.pkgs</code> are
defined with <code>gnuradio.callPackage</code> and some packages that depend
on gnuradio are defined with this as well.
</para>
</listitem>
<listitem>
@@ -57,6 +67,13 @@
for the motivation).
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://kodi.tv/">Kodi</link> has been updated to version 19.0 "Matrix". See
the <link xlink:href="https://kodi.tv/article/kodi-190-matrix-release">announcement</link> for
further details.
</para>
</listitem>
</itemizedlist>
</section>

@@ -577,6 +594,37 @@ self: super:
for your Kafka version.
</para>
</listitem>
<listitem>
<para>
The <package>kodi</package> package has been modified to allow concise addon management. Consider
the following configuration from previous releases of NixOS to install <package>kodi</package>,
including the <package>kodiPackages.inputstream-adaptive</package> and <package>kodiPackages.vfs-sftp</package>
addons:

<programlisting>
environment.systemPackages = [
pkgs.kodi
];

nixpkgs.config.kodi = {
enableInputStreamAdaptive = true;
enableVFSSFTP = true;
};
</programlisting>

All Kodi <literal>config</literal> flags have been removed, and as a result the above configuration
should now be written as:

<programlisting>
environment.systemPackages = [
(pkgs.kodi.withPackages (p: with p; [
inputstream-adaptive
vfs-sftp
]))
];
</programlisting>
</para>
</listitem>
</itemizedlist>
</section>

20 changes: 16 additions & 4 deletions nixos/modules/services/misc/mautrix-telegram.nix
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@ let
dataDir = "/var/lib/mautrix-telegram";
registrationFile = "${dataDir}/telegram-registration.yaml";
cfg = config.services.mautrix-telegram;
# TODO: switch to configGen.json once RFC42 is implemented
settingsFile = pkgs.writeText "mautrix-telegram-settings.json" (builtins.toJSON cfg.settings);
settingsFormat = pkgs.formats.json {};
settingsFileUnsubstituted = settingsFormat.generate "mautrix-telegram-config-unsubstituted.json" cfg.settings;
settingsFile = "${dataDir}/config.json";

in {
options = {
services.mautrix-telegram = {
enable = mkEnableOption "Mautrix-Telegram, a Matrix-Telegram hybrid puppeting/relaybot bridge";

settings = mkOption rec {
# TODO: switch to types.config.json as prescribed by RFC42 once it's implemented
type = types.attrs;
apply = recursiveUpdate default;
inherit (settingsFormat) type;
default = {
appservice = rec {
database = "sqlite:///${dataDir}/mautrix-telegram.db";
@@ -124,6 +124,16 @@ in {
after = [ "network-online.target" ] ++ cfg.serviceDependencies;

preStart = ''
# Not all secrets can be passed as environment variable (yet)
# https://github.com/tulir/mautrix-telegram/issues/584
[ -f ${settingsFile} ] && rm -f ${settingsFile}
old_umask=$(umask)
umask 0277
${pkgs.envsubst}/bin/envsubst \
-o ${settingsFile} \
-i ${settingsFileUnsubstituted}
umask $old_umask
# generate the appservice's registration file if absent
if [ ! -f '${registrationFile}' ]; then
${pkgs.mautrix-telegram}/bin/mautrix-telegram \
@@ -159,6 +169,8 @@ in {
--config='${settingsFile}'
'';
};

restartTriggers = [ settingsFileUnsubstituted ];
};
};

3 changes: 2 additions & 1 deletion nixos/modules/services/monitoring/prometheus/exporters.nix
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ let
"dovecot"
"fritzbox"
"json"
"jitsi"
"keylight"
"knot"
"lnd"
@@ -130,7 +131,7 @@ let
inherit name port;
} // extraOpts);
} ({ config, ... }: mkIf config.openFirewall {
firewallFilter = mkOptionDefault "-p tcp -m tcp --dport ${toString config.port}";
firewallFilter = mkDefault "-p tcp -m tcp --dport ${toString config.port}";
})];
internal = true;
default = {};
40 changes: 40 additions & 0 deletions nixos/modules/services/monitoring/prometheus/exporters/jitsi.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ config, lib, pkgs, options }:

with lib;

let
cfg = config.services.prometheus.exporters.jitsi;
in
{
port = 9700;
extraOpts = {
url = mkOption {
type = types.str;
default = "http://localhost:8080/colibri/stats";
description = ''
Jitsi Videobridge metrics URL to monitor.
This is usually /colibri/stats on port 8080 of the jitsi videobridge host.
'';
};
interval = mkOption {
type = types.str;
default = "30s";
example = "1min";
description = ''
How often to scrape new data
'';
};
};
serviceOpts = {
serviceConfig = {
ExecStart = ''
${pkgs.prometheus-jitsi-exporter}/bin/jitsiexporter \
-url ${escapeShellArg cfg.url} \
-host ${cfg.listenAddress} \
-port ${toString cfg.port} \
-interval ${toString cfg.interval} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
};
};
}
23 changes: 23 additions & 0 deletions nixos/tests/prometheus-exporters.nix
Original file line number Diff line number Diff line change
@@ -233,6 +233,29 @@ let
'';
};

jitsi = {
exporterConfig = {
enable = true;
};
metricProvider = {
systemd.services.prometheus-jitsi-exporter.after = [ "jitsi-videobridge2.service" ];
services.jitsi-videobridge = {
enable = true;
apis = [ "colibri" "rest" ];
};
};
exporterTest = ''
wait_for_unit("jitsi-videobridge2.service")
wait_for_open_port(8080)
wait_for_unit("prometheus-jitsi-exporter.service")
wait_for_open_port(9700)
wait_until_succeeds(
'journalctl -eu prometheus-jitsi-exporter.service -o cat | grep -q "key=participants"'
)
succeed("curl -sSf 'localhost:9700/metrics' | grep -q 'jitsi_participants 0'")
'';
};

json = {
exporterConfig = {
enable = true;
4 changes: 2 additions & 2 deletions pkgs/applications/audio/rosegarden/default.nix
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
, liblo, libsamplerate, libsndfile, lirc ? null, lrdf, qtbase }:

stdenv.mkDerivation (rec {
version = "20.06";
version = "20.12";
pname = "rosegarden";

src = fetchurl {
url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
sha256 = "1i9x9rkqwwdrk77xl5ra8i48cjirbc7fbisnj0nnclccwaq0wk6r";
sha256 = "sha256-iGaEr8WFipV4I00fhFGI2xMBFPf784IIxNXs2hUTHFs=";
};

patchPhase = ''
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "lightdm-mini-greeter";
version = "0.5.0";
version = "0.5.1";

src = fetchFromGitHub {
owner = "prikhi";
repo = "lightdm-mini-greeter";
rev = version;
sha256 = "sha256-cVOnd3k+9hFQjROiwPpxZcCxD2NiH1eclJHF88eV6BM=";
sha256 = "sha256-Pm7ExfusFIPktX2C4UE07qgOVhcWhVxnaD3QARpmu7Y=";
};

nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
4 changes: 1 addition & 3 deletions pkgs/applications/graphics/photoflare/default.nix
Original file line number Diff line number Diff line change
@@ -19,13 +19,11 @@ mkDerivation rec {

NIX_CFLAGS_COMPILE = "-I${graphicsmagick}/include/GraphicsMagick";

enableParallelBuilding = true;

meta = with lib; {
description = "A cross-platform image editor with a powerful features and a very friendly graphical user interface";
homepage = "https://photoflare.io";
maintainers = [ maintainers.omgbebebe ];
license = licenses.gpl3;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}
11 changes: 7 additions & 4 deletions pkgs/applications/misc/pueue/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
{ stdenv, lib, rustPlatform, fetchFromGitHub, installShellFiles, SystemConfiguration, libiconv }:

rustPlatform.buildRustPackage rec {
pname = "pueue";
version = "0.12.0";
version = "0.12.1";

src = fetchFromGitHub {
owner = "Nukesor";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yOUVDq/wRY35ZQjQVwTLYHKukkKpoggN51wBDdZnhI4=";
sha256 = "sha256-wcOF34GzlB6YKISkjDgYgsaN1NmWBMIntfT23A6byx8=";
};

cargoSha256 = "sha256-56jJ8IjxWTBlaDd1CVit4RP659Mgw2j2wMWcSDYVihM=";
cargoSha256 = "sha256-7SJjtHNSabE/VqdiSwKZ/yNzk6GSMNsQLaSx/MjN5NA=";

nativeBuildInputs = [ installShellFiles ];

buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration libiconv ];

checkFlags = [ "--skip=test_single_huge_payload" "--skip=test_create_unix_socket" ];

postInstall = ''
@@ -27,6 +29,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "A daemon for managing long running shell commands";
homepage = "https://github.com/Nukesor/pueue";
changelog = "https://github.com/Nukesor/pueue/raw/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
10 changes: 6 additions & 4 deletions pkgs/applications/networking/browsers/asuka/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{ lib, stdenv, rustPlatform, fetchurl, pkg-config, ncurses, openssl, Security }:
{ lib, stdenv, rustPlatform, fetchFromSourcehut, pkg-config, ncurses, openssl, Security }:

rustPlatform.buildRustPackage rec {
pname = "asuka";
version = "0.8.1";

src = fetchurl {
url = "https://git.sr.ht/~julienxx/${pname}/archive/${version}.tar.gz";
sha256 = "07i80qmdpwfdgwrk1gzs10wln91v23qjrsk0x134xf5mjnakxc06";
src = fetchFromSourcehut {
owner = "~julienxx";
repo = pname;
rev = version;
sha256 = "1y8v4qc5dng3v9k0bky1xlf3qi9pk2vdsi29lff4ha5310467f0k";
};

cargoSha256 = "0p0x4ch04kydg76bfal5zqzr9hvn5268wf3k2v9h7g8r4y8xqlhw";
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/terragrunt/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "terragrunt";
version = "0.28.9";
version = "0.28.11";

src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sqwR+bXx5ab5OsmW44C5MIXjzQFM1QsBvsM0R3pL3H8=";
sha256 = "sha256-qlmiQ73MRXcdXXC50pewUMt9YFbzXIbjnZTV5gIcvGs=";
};

vendorSha256 = "sha256-9DBCP/4mp/Gr2ie0nk7WGfL+M7snMEztdHZzxdIFbzM=";
vendorSha256 = "sha256-SVrDBDGK809O+RaE3gOa9U1agY6hSGI/k3FUCgm+5PA=";

doCheck = false;

10 changes: 6 additions & 4 deletions pkgs/applications/networking/mailreaders/aerc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchurl
{ lib, buildGoModule, fetchFromSourcehut
, ncurses, notmuch, scdoc
, python3, w3m, dante
}:
@@ -7,9 +7,11 @@ buildGoModule rec {
pname = "aerc";
version = "0.5.2";

src = fetchurl {
url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz";
sha256 = "h7kiRA5TuZ8mDSMymWU33stFLIOMd06TQLYzKW+faO4=";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = pname;
rev = version;
sha256 = "1ja639qry8h2d6y7qshf62ypkzs2rzady59p81scqh8nx0g9bils";
};

runVend = true;
Loading