Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e0508c81809b
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a40c69ed4768
Choose a head ref
Loading
Showing with 383 additions and 210 deletions.
  1. +6 −0 nixos/doc/manual/release-notes/rl-2009.xml
  2. +20 −2 nixos/modules/services/networking/shadowsocks.nix
  3. +1 −0 nixos/modules/services/web-apps/jitsi-meet.nix
  4. +55 −0 nixos/modules/services/web-apps/jitsi-meet.xml
  5. +1 −1 nixos/tests/all-tests.nix
  6. +14 −10 nixos/tests/{shadowsocks.nix → shadowsocks/common.nix}
  7. +16 −0 nixos/tests/shadowsocks/default.nix
  8. +2 −0 pkgs/applications/graphics/drawpile/default.nix
  9. +10 −28 pkgs/applications/networking/browsers/firefox/common.nix
  10. +0 −24 pkgs/applications/networking/browsers/firefox/no-buildconfig-ffx65.patch
  11. +0 −28 pkgs/applications/networking/browsers/firefox/packages.nix
  12. +6 −2 pkgs/applications/networking/browsers/palemoon/default.nix
  13. +1 −1 pkgs/applications/networking/instant-messengers/element/element-desktop-package.json
  14. +12 −28 pkgs/applications/networking/instant-messengers/element/element-desktop-yarndeps.nix
  15. +2 −2 pkgs/applications/networking/instant-messengers/element/element-desktop.nix
  16. +2 −2 pkgs/applications/networking/instant-messengers/element/element-web.nix
  17. +4 −9 pkgs/applications/science/logic/ott/default.nix
  18. +2 −2 pkgs/applications/science/math/lp_solve/default.nix
  19. +1 −1 pkgs/build-support/fetchgitlab/default.nix
  20. +2 −0 pkgs/development/libraries/qtstyleplugins/default.nix
  21. +44 −0 pkgs/development/libraries/qtstyleplugins/fix-build-against-Qt-5.15.patch
  22. +10 −8 pkgs/development/ocaml-modules/batteries/default.nix
  23. +37 −0 pkgs/development/python-modules/amply/default.nix
  24. +19 −0 pkgs/development/python-modules/cfn-lint/default.nix
  25. +3 −1 pkgs/development/python-modules/cx_freeze/default.nix
  26. +3 −1 pkgs/development/python-modules/flask-api/default.nix
  27. +11 −3 pkgs/development/python-modules/geopandas/default.nix
  28. +3 −3 pkgs/development/python-modules/green/default.nix
  29. +9 −0 pkgs/development/python-modules/httpx/default.nix
  30. +11 −12 pkgs/development/python-modules/jedi/default.nix
  31. +8 −6 pkgs/development/python-modules/parso/default.nix
  32. +2 −1 pkgs/development/python-modules/pulp/default.nix
  33. +9 −4 pkgs/development/python-modules/python-engineio/default.nix
  34. +2 −2 pkgs/development/python-modules/python-gitlab/default.nix
  35. +11 −3 pkgs/development/python-modules/python-language-server/default.nix
  36. +3 −1 pkgs/development/python-modules/timezonefinder/default.nix
  37. +7 −2 pkgs/games/instead/default.nix
  38. +12 −6 pkgs/os-specific/linux/busybox/default.nix
  39. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  40. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  41. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  42. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  43. +2 −2 pkgs/os-specific/linux/kernel/linux-5.4.nix
  44. +2 −2 pkgs/os-specific/linux/kernel/linux-5.8.nix
  45. +4 −0 pkgs/tools/misc/gotify-cli/default.nix
  46. +2 −2 pkgs/tools/misc/youtube-dl/default.nix
  47. +1 −0 pkgs/top-level/aliases.nix
  48. +0 −2 pkgs/top-level/all-packages.nix
  49. +1 −1 pkgs/top-level/impure.nix
  50. +2 −0 pkgs/top-level/python-packages.nix
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -26,6 +26,12 @@
<listitem>
<para>GNOME desktop environment was upgraded to 3.36, see its <link xlink:href="https://help.gnome.org/misc/release-notes/3.36/">release notes</link>.</para>
</listitem>
<listitem>
<para>
Quickly configure a complete, private, self-hosted video
conferencing solution with the new Jitsi Meet module.
</para>
</listitem>
<listitem>
<para>
<package>maxx</package> package removed along with <varname>services.xserver.desktopManager.maxx</varname> module.
22 changes: 20 additions & 2 deletions nixos/modules/services/networking/shadowsocks.nix
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ let
plugin_opts = cfg.pluginOpts;
} // optionalAttrs (cfg.password != null) {
password = cfg.password;
};
} // cfg.extraConfig;

configFile = pkgs.writeText "shadowsocks.json" (builtins.toJSON opts);

@@ -112,6 +112,24 @@ in
Options to pass to the plugin if one was specified
'';
};

extraConfig = mkOption {
type = types.attrs;
default = {};
example = ''
{
nameserver = "8.8.8.8";
}
'';
description = ''
Additional configuration for shadowsocks that is not covered by the
provided options. The provided attrset will be serialized to JSON and
has to contain valid shadowsocks options. Unfortunately most
additional options are undocumented but it's easy to find out what is
available by looking into the source code of
<link xlink:href="https://github.com/shadowsocks/shadowsocks-libev/blob/master/src/jconf.c"/>
'';
};
};

};
@@ -129,7 +147,7 @@ in
description = "shadowsocks-libev Daemon";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.shadowsocks-libev cfg.plugin ] ++ optional (cfg.passwordFile != null) pkgs.jq;
path = [ pkgs.shadowsocks-libev ] ++ optional (cfg.plugin != null) cfg.plugin ++ optional (cfg.passwordFile != null) pkgs.jq;
serviceConfig.PrivateTmp = true;
script = ''
${optionalString (cfg.passwordFile != null) ''
1 change: 1 addition & 0 deletions nixos/modules/services/web-apps/jitsi-meet.nix
Original file line number Diff line number Diff line change
@@ -329,5 +329,6 @@ in
};
};

meta.doc = ./jitsi-meet.xml;
meta.maintainers = lib.teams.jitsi.members;
}
55 changes: 55 additions & 0 deletions nixos/modules/services/web-apps/jitsi-meet.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="module-services-jitsi-meet">
<title>Jitsi Meet</title>
<para>
With Jitsi Meet on NixOS you can quickly configure a complete,
private, self-hosted video conferencing solution.
</para>

<section xml:id="module-services-jitsi-basic-usage">
<title>Basic usage</title>
<para>
A minimal configuration using Let's Encrypt for TLS certificates looks like this:
<programlisting>{
services.jitsi-meet = {
<link linkend="opt-services.jitsi-meet.enable">enable</link> = true;
<link linkend="opt-services.jitsi-meet.enable">hostName</link> = "jitsi.example.com";
};
<link linkend="opt-services.jitsi-videobridge.openFirewall">services.jitsi-videobridge.openFirewall</link> = true;
<link linkend="opt-networking.firewall.allowedTCPPorts">networking.firewall.allowedTCPPorts</link> = [ 80 443 ];
<link linkend="opt-security.acme.email">security.acme.email</link> = "me@example.com";
<link linkend="opt-security.acme.acceptTerms">security.acme.acceptTerms</link> = true;
}</programlisting>
</para>
</section>

<section xml:id="module-services-jitsi-configuration">
<title>Configuration</title>
<para>
Here is the minimal configuration with additional configurations:
<programlisting>{
services.jitsi-meet = {
<link linkend="opt-services.jitsi-meet.enable">enable</link> = true;
<link linkend="opt-services.jitsi-meet.enable">hostName</link> = "jitsi.example.com";
<link linkend="opt-services.jitsi-meet.config">config</link> = {
enableWelcomePage = false;
prejoinPageEnabled = true;
defaultLang = "fi";
};
<link linkend="opt-services.jitsi-meet.interfaceConfig">interfaceConfig</link> = {
SHOW_JITSI_WATERMARK = false;
SHOW_WATERMARK_FOR_GUESTS = false;
};
};
<link linkend="opt-services.jitsi-videobridge.openFirewall">services.jitsi-videobridge.openFirewall</link> = true;
<link linkend="opt-networking.firewall.allowedTCPPorts">networking.firewall.allowedTCPPorts</link> = [ 80 443 ];
<link linkend="opt-security.acme.email">security.acme.email</link> = "me@example.com";
<link linkend="opt-security.acme.acceptTerms">security.acme.acceptTerms</link> = true;
}</programlisting>
</para>
</section>

</chapter>
2 changes: 1 addition & 1 deletion nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -309,7 +309,7 @@ in
sanoid = handleTest ./sanoid.nix {};
sddm = handleTest ./sddm.nix {};
service-runner = handleTest ./service-runner.nix {};
shadowsocks = handleTest ./shadowsocks.nix {};
shadowsocks = handleTest ./shadowsocks {};
shattered-pixel-dungeon = handleTest ./shattered-pixel-dungeon.nix {};
shiori = handleTest ./shiori.nix {};
signal-desktop = handleTest ./signal-desktop.nix {};
24 changes: 14 additions & 10 deletions nixos/tests/shadowsocks.nix → nixos/tests/shadowsocks/common.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import ./make-test-python.nix ({ pkgs, lib, ... }: {
name = "shadowsocks";
{ name
, plugin ? null
, pluginOpts ? ""
}:

import ../make-test-python.nix ({ pkgs, lib, ... }: {
inherit name;
meta = {
maintainers = with lib.maintainers; [ hmenke ];
};
@@ -22,8 +27,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
port = 8488;
fastOpen = false;
mode = "tcp_and_udp";
plugin = "${pkgs.shadowsocks-v2ray-plugin}/bin/v2ray-plugin";
pluginOpts = "server;host=nixos.org";
} // lib.optionalAttrs (plugin != null) {
inherit plugin;
pluginOpts = "server;${pluginOpts}";
};
services.nginx = {
enable = true;
@@ -42,10 +48,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
description = "connect to shadowsocks";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = with pkgs; [
shadowsocks-libev
shadowsocks-v2ray-plugin
];
path = with pkgs; [ shadowsocks-libev ];
script = ''
exec ss-local \
-s 192.168.0.1 \
@@ -54,8 +57,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
-k 'pa$$w0rd' \
-m chacha20-ietf-poly1305 \
-a nobody \
--plugin "${pkgs.shadowsocks-v2ray-plugin}/bin/v2ray-plugin" \
--plugin-opts "host=nixos.org"
${lib.optionalString (plugin != null) ''
--plugin "${plugin}" --plugin-opts "${pluginOpts}"
''}
'';
};
};
16 changes: 16 additions & 0 deletions nixos/tests/shadowsocks/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ system ? builtins.currentSystem
, config ? { }
, pkgs ? import ../../.. { inherit system config; }
}:

{
"basic" = import ./common.nix {
name = "basic";
};

"v2ray-plugin" = import ./common.nix {
name = "v2ray-plugin";
plugin = "${pkgs.shadowsocks-v2ray-plugin}/bin/v2ray-plugin";
pluginOpts = "host=nixos.org";
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/drawpile/default.nix
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@
, qtmultimedia
, qtsvg
, qttools
, libsecret

# optional client deps
, giflib
@@ -45,6 +46,7 @@ let
qtmultimedia
qtsvg
qttools
libsecret
# optional:
giflib # gif animation export support
kdnssd # local server discovery with Zeroconf
38 changes: 10 additions & 28 deletions pkgs/applications/networking/browsers/firefox/common.nix
Original file line number Diff line number Diff line change
@@ -7,8 +7,8 @@
, freetype, fontconfig, file, nspr, nss, libnotify
, yasm, libGLU, libGL, sqlite, unzip, makeWrapper
, hunspell, libXdamage, libevent, libstartup_notification
, libvpx, libvpx_1_8
, icu, icu67, libpng, jemalloc, glib
, libvpx_1_8
, icu67, libpng, jemalloc, glib
, autoconf213, which, gnused, cargo, rustc, llvmPackages
, rust-cbindgen, nodejs, nasm, fetchpatch
, debugBuild ? false
@@ -112,17 +112,13 @@ stdenv.mkDerivation ({
xorg.libXext unzip makeWrapper
libevent libstartup_notification /* cairo */
libpng jemalloc glib
nasm
nasm icu67 libvpx_1_8
# >= 66 requires nasm for the AV1 lib dav1d
# yasm can potentially be removed in future versions
# https://bugzilla.mozilla.org/show_bug.cgi?id=1501796
# https://groups.google.com/forum/#!msg/mozilla.dev.platform/o-8levmLU80/SM_zQvfzCQAJ
nspr nss
]
++ lib.optionals (lib.versionOlder ffversion "75") [ libvpx sqlite ]
++ lib.optional (lib.versionAtLeast ffversion "75.0") libvpx_1_8
++ lib.optional (lib.versionOlder ffversion "78") icu
++ lib.optional (lib.versionAtLeast ffversion "78.0") icu67
++ lib.optional alsaSupport alsaLib
++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed
++ lib.optional gtk3Support gtk3
@@ -132,12 +128,10 @@ stdenv.mkDerivation ({
AVFoundation MediaToolbox CoreLocation
Foundation libobjc AddressBook cups ];

NIX_CFLAGS_COMPILE = toString ([
NIX_CFLAGS_COMPILE = toString [
"-I${glib.dev}/include/gio-unix-2.0"
"-I${nss.dev}/include/nss"
]
++ lib.optional (pname == "firefox-esr" && lib.versionOlder ffversion "69")
"-Wno-error=format-security");
];

postPatch = ''
rm -rf obj-x86_64-pc-linux-gnu
@@ -228,16 +222,7 @@ stdenv.mkDerivation ({
"--with-system-nspr"
"--with-system-nss"
]
++ lib.optionals (lib.versionOlder ffversion "78") [
"--with-system-bz2"
"--enable-startup-notification"
"--disable-gconf"
]
++ lib.optional (lib.versionOlder ffversion "75") "--enable-system-sqlite"
++ lib.optional (stdenv.isDarwin) "--disable-xcode-checks"
++ lib.optionals (lib.versionOlder ffversion "69") [
"--enable-webrender=build"
]

++ flag alsaSupport "alsa"
++ flag pulseaudioSupport "pulseaudio"
@@ -305,16 +290,13 @@ stdenv.mkDerivation ({
inherit execdir;
inherit browserName;
} // lib.optionalAttrs gtk3Support { inherit gtk3; };
} //
lib.optionalAttrs (lib.versionAtLeast ffversion "74") {

hardeningDisable = [ "format" ]; # -Werror=format-security
} //
# the build system verifies checksums of the bundled rust sources
# ./third_party/rust is be patched by our libtool fixup code in stdenv
# unfortunately we can't just set this to `false` when we do not want it.
# See https://github.com/NixOS/nixpkgs/issues/77289 for more details

lib.optionalAttrs (lib.versionAtLeast ffversion "72") {
# the build system verifies checksums of the bundled rust sources
# ./third_party/rust is be patched by our libtool fixup code in stdenv
# unfortunately we can't just set this to `false` when we do not want it.
# See https://github.com/NixOS/nixpkgs/issues/77289 for more details
# Ideally we would figure out how to tell the build system to not
# care about changed hashes as we are already doing that when we
# fetch the sources. Any further modifications of the source tree

This file was deleted.

28 changes: 0 additions & 28 deletions pkgs/applications/networking/browsers/firefox/packages.nix
Original file line number Diff line number Diff line change
@@ -60,32 +60,4 @@ rec {
versionKey = "ffversion";
};
};

firefox-esr-68 = (common rec {
pname = "firefox-esr";
ffversion = "68.12.0esr";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
sha512 = "169y4prlb4mi31jciz89kp35rpb1p2gxrk93qkwfzdk4imi9hk8mi2yvxknpr0rni3bn2x0zgrrc6ccr8swv5895sqvv1sc5r1056w3";
};

patches = [
./no-buildconfig-ffx65.patch
];

meta = firefox.meta // {
description = "A web browser built from Firefox Extended Support Release source tree";
};
updateScript = callPackage ./update.nix {
attrPath = "firefox-esr-68-unwrapped";
versionSuffix = "esr";
versionKey = "ffversion";
};
}).override {
# Mozilla unfortunately doesn't support building with latest NSS anymore;
# instead they provide ESR releases for NSS:
# https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases
nss = nss_3_44;
};

}
8 changes: 6 additions & 2 deletions pkgs/applications/networking/browsers/palemoon/default.nix
Original file line number Diff line number Diff line change
@@ -16,13 +16,13 @@ let

in stdenv.mkDerivation rec {
pname = "palemoon";
version = "28.12.0";
version = "28.13.0";

src = fetchFromGitHub {
owner = "MoonchildProductions";
repo = "Pale-Moon";
rev = "${version}_Release";
sha256 = "1cc75972nhmxkkynkky1m2fijbf3qlzvpxsd98mxlx0b7h4d3l5l";
sha256 = "1lza6239kb32wnwd9cwddn11npg1qx7p69l7qy63h9c59w29iypa";
fetchSubmodules = true;
};

@@ -88,12 +88,16 @@ in stdenv.mkDerivation rec {
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --with-pthreads
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1
# For versions after 28.12.0
ac_add_options --enable-phoenix-extensions
ac_add_options --x-libraries=${lib.makeLibraryPath [ xorg.libX11 ]}
export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "element-desktop",
"productName": "Element",
"main": "src/electron-main.js",
"version": "1.7.5",
"version": "1.7.7",
"description": "A feature-rich client for Matrix.org",
"author": "Element",
"repository": {
Loading