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: 000840022209
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: 9d3687ff1598
Choose a head ref
Loading
Showing with 423 additions and 177 deletions.
  1. +19 −20 nixos/modules/services/hardware/fancontrol.nix
  2. +1 −0 nixos/tests/all-tests.nix
  3. +25 −0 nixos/tests/fancontrol.nix
  4. +1 −1 nixos/tests/fontconfig-default-fonts.nix
  5. +2 −2 pkgs/applications/gis/qgis/unwrapped.nix
  6. +2 −2 pkgs/applications/networking/instant-messengers/zoom-us/default.nix
  7. +2 −2 pkgs/applications/networking/sync/rclone/default.nix
  8. +6 −8 pkgs/applications/office/kmymoney/default.nix
  9. +2 −2 pkgs/applications/office/softmaker/softmaker_office.nix
  10. +2 −2 pkgs/applications/virtualization/conmon/default.nix
  11. +5 −5 pkgs/applications/virtualization/virt-top/default.nix
  12. +7 −5 pkgs/data/fonts/noto-fonts/default.nix
  13. +25 −8 pkgs/data/fonts/noto-fonts/tools.nix
  14. +3 −2 pkgs/data/fonts/twitter-color-emoji/default.nix
  15. +32 −6 pkgs/development/coq-modules/coq-extensible-records/default.nix
  16. +2 −2 pkgs/development/interpreters/python/default.nix
  17. +2 −2 pkgs/development/libraries/libedit/default.nix
  18. +5 −0 pkgs/development/libraries/pango/default.nix
  19. +3 −0 pkgs/development/libraries/skalibs/default.nix
  20. +19 −0 pkgs/development/ocaml-modules/angstrom-async/default.nix
  21. +19 −0 pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix
  22. +19 −0 pkgs/development/ocaml-modules/angstrom-unix/default.nix
  23. +2 −2 pkgs/development/ocaml-modules/angstrom/default.nix
  24. +24 −0 pkgs/development/ocaml-modules/earlybird/default.nix
  25. +5 −0 pkgs/development/python-modules/dogpile.cache/default.nix
  26. +4 −4 pkgs/development/python-modules/snuggs/default.nix
  27. +7 −9 pkgs/development/python-modules/weboob/default.nix
  28. +2 −2 pkgs/development/tools/buildah/default.nix
  29. +2 −2 pkgs/development/tools/continuous-integration/jenkins/default.nix
  30. +2 −2 pkgs/misc/vscode-extensions/cpptools/default.nix
  31. +5 −5 pkgs/misc/vscode-extensions/python/default.nix
  32. +2 −2 pkgs/misc/vscode-extensions/wakatime/default.nix
  33. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  34. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  35. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  36. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  37. +2 −2 pkgs/os-specific/linux/kernel/linux-5.3.nix
  38. +2 −2 pkgs/os-specific/linux/kernel/linux-testing.nix
  39. +14 −12 pkgs/servers/home-assistant/component-packages.nix
  40. +49 −37 pkgs/servers/home-assistant/default.nix
  41. +60 −0 pkgs/tools/admin/certbot/0001-Don-t-use-distutils.StrictVersion-that-cannot-handle.patch
  42. +1 −0 pkgs/tools/admin/certbot/default.nix
  43. +4 −4 pkgs/tools/admin/google-cloud-sdk/default.nix
  44. +8 −8 pkgs/tools/misc/pazi/cargo-lock.patch
  45. +3 −3 pkgs/tools/misc/pazi/default.nix
  46. +2 −2 pkgs/tools/misc/youtube-dl/default.nix
  47. +2 −0 pkgs/top-level/aliases.nix
  48. +2 −2 pkgs/top-level/all-packages.nix
  49. +8 −0 pkgs/top-level/ocaml-packages.nix
39 changes: 19 additions & 20 deletions nixos/modules/services/hardware/fancontrol.nix
Original file line number Diff line number Diff line change
@@ -4,42 +4,41 @@ with lib;

let
cfg = config.hardware.fancontrol;
configFile = pkgs.writeText "fan.conf" cfg.config;

in {
configFile = pkgs.writeText "fancontrol.conf" cfg.config;

in{
options.hardware.fancontrol = {
enable = mkEnableOption "fancontrol (requires fancontrol.config)";
enable = mkEnableOption "software fan control (requires fancontrol.config)";

config = mkOption {
type = types.lines;
default = null;
type = types.lines;
description = "Fancontrol configuration file content. See <citerefentry><refentrytitle>pwmconfig</refentrytitle><manvolnum>8</manvolnum></citerefentry> from the lm_sensors package.";
example = ''
# Configuration file generated by pwmconfig
INTERVAL=1
DEVPATH=hwmon0=devices/platform/nct6775.656 hwmon1=devices/pci0000:00/0000:00:18.3
DEVNAME=hwmon0=nct6779 hwmon1=k10temp
FCTEMPS=hwmon0/pwm2=hwmon1/temp1_input
FCFANS=hwmon0/pwm2=hwmon0/fan2_input
MINTEMP=hwmon0/pwm2=25
MAXTEMP=hwmon0/pwm2=60
MINSTART=hwmon0/pwm2=25
MINSTOP=hwmon0/pwm2=10
MINPWM=hwmon0/pwm2=0
MAXPWM=hwmon0/pwm2=255
INTERVAL=10
DEVPATH=hwmon3=devices/virtual/thermal/thermal_zone2 hwmon4=devices/platform/f71882fg.656
DEVNAME=hwmon3=soc_dts1 hwmon4=f71869a
FCTEMPS=hwmon4/device/pwm1=hwmon3/temp1_input
FCFANS= hwmon4/device/pwm1=hwmon4/device/fan1_input
MINTEMP=hwmon4/device/pwm1=35
MAXTEMP=hwmon4/device/pwm1=65
MINSTART=hwmon4/device/pwm1=150
MINSTOP=hwmon4/device/pwm1=0
'';
description = "Contents for configuration file. See <citerefentry><refentrytitle>pwmconfig</refentrytitle><manvolnum>8</manvolnum></citerefentry>.";
};
};


config = mkIf cfg.enable {
systemd.services.fancontrol = {
description = "Fan speed control from lm_sensors";
unitConfig.Documentation = "man:fancontrol(8)";
description = "software fan control";
wantedBy = [ "multi-user.target" ];
after = [ "lm_sensors.service" ];

serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.lm_sensors}/bin/fancontrol ${configFile}";
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
};
};
};
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -81,6 +81,7 @@ in
env = handleTest ./env.nix {};
etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
fancontrol = handleTest ./fancontrol.nix {};
ferm = handleTest ./ferm.nix {};
firefox = handleTest ./firefox.nix {};
firewall = handleTest ./firewall.nix {};
25 changes: 25 additions & 0 deletions nixos/tests/fancontrol.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import ./make-test.nix ({ pkgs, ... } : {
name = "fancontrol";

machine =
{ ... }:
{ hardware.fancontrol.enable = true;
hardware.fancontrol.config = ''
INTERVAL=42
DEVPATH=hwmon1=devices/platform/dummy
DEVNAME=hwmon1=dummy
FCTEMPS=hwmon1/device/pwm1=hwmon1/device/temp1_input
FCFANS=hwmon1/device/pwm1=hwmon1/device/fan1_input
MINTEMP=hwmon1/device/pwm1=25
MAXTEMP=hwmon1/device/pwm1=65
MINSTART=hwmon1/device/pwm1=150
MINSTOP=hwmon1/device/pwm1=0
'';
};

# This configuration cannot be valid for the test VM, so it's expected to get an 'outdated' error.
testScript = ''
$machine->waitForUnit("fancontrol.service");
$machine->waitUntilSucceeds("journalctl -eu fancontrol | grep 'Configuration appears to be outdated'");
'';
})
2 changes: 1 addition & 1 deletion nixos/tests/fontconfig-default-fonts.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import ./make-test.nix ({ lib, ... }:
fonts.fonts = with pkgs; [
noto-fonts-emoji
cantarell-fonts
twitter-color-emoji
#twitter-color-emoji # Can't be generated with Python 3 version of nototools
source-code-pro
gentium
];
4 changes: 2 additions & 2 deletions pkgs/applications/gis/qgis/unwrapped.nix
Original file line number Diff line number Diff line change
@@ -10,15 +10,15 @@ let
[ qscintilla-qt5 gdal jinja2 numpy psycopg2
chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ];
in mkDerivation rec {
version = "3.8.3";
version = "3.10.0";
pname = "qgis";
name = "${pname}-unwrapped-${version}";

src = fetchFromGitHub {
owner = "qgis";
repo = "QGIS";
rev = "final-${lib.replaceStrings ["."] ["_"] version}";
sha256 = "16axjih48qn8ri3p71d8f7k0y3rd05wghmg1fcbyda871b45b2f8";
sha256 = "0qq4dznxxbpj8b4ypkz7dixc0b0v6rmf3c5hs4m3ka3rzck8jsqc";
};

passthru = {
Original file line number Diff line number Diff line change
@@ -14,11 +14,11 @@ assert pulseaudioSupport -> libpulseaudio != null;
let
inherit (stdenv.lib) concatStringsSep makeBinPath optional;

version = "3.0.306796.1020";
version = "3.0.309708.1027";
srcs = {
x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz";
sha256 = "0nh93pyincwfmx3z5x4s0ym3n0ff492nwd9wh3xkcl518pslxpxy";
sha256 = "0g0nmlbcps331vdnfj571lzhcw8cb2gxbll09jananxdpnmwv5l6";
};
};

4 changes: 2 additions & 2 deletions pkgs/applications/networking/sync/rclone/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoPackage rec {
pname = "rclone";
version = "1.50.0";
version = "1.49.5";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0k4fybz4670cqg1rpx0c1ximf1x6yl1f788hx9raxkwp5wv703kw";
sha256 = "0firfb2300grfp5fnqaifhp346m4d0x8r1xshs9d8r6jxb160n03";
};

goPackagePath = "github.com/rclone/rclone";
14 changes: 6 additions & 8 deletions pkgs/applications/office/kmymoney/default.nix
Original file line number Diff line number Diff line change
@@ -10,17 +10,16 @@
# Needed for running tests:
, qtbase, xvfb_run

# For weboob, which only supports Python 2.x:
, python2Packages
, python3Packages
}:

stdenv.mkDerivation rec {
pname = "kmymoney";
version = "5.0.5";
version = "5.0.7";

src = fetchurl {
url = "mirror://kde/stable/kmymoney/${version}/src/${pname}-${version}.tar.xz";
sha256 = "1hghs4676kn2giwpwz1y7p6djpmi41x64idf3ybiz8ky14a5s977";
sha256 = "1h5mzvgpfyl2j66b3nsw17yxvg0ja1qhjlcmfkz62221vcqsrp6m";
};

# Hidden dependency that wasn't included in CMakeLists.txt:
@@ -29,7 +28,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;

nativeBuildInputs = [
doxygen extra-cmake-modules graphviz kdoctools python2Packages.wrapPython
doxygen extra-cmake-modules graphviz kdoctools python3Packages.wrapPython
wrapQtAppsHook
];

@@ -41,10 +40,10 @@ stdenv.mkDerivation rec {

# Put it into buildInputs so that CMake can find it, even though we patch
# it into the interface later.
python2Packages.weboob
python3Packages.weboob
];

weboobPythonPath = [ python2Packages.weboob ];
weboobPythonPath = [ python3Packages.weboob ];

postInstall = ''
buildPythonPath "$weboobPythonPath"
@@ -70,6 +69,5 @@ stdenv.mkDerivation rec {
homepage = https://kmymoney.org/;
platforms = lib.platforms.linux;
license = lib.licenses.gpl2Plus;
broken = true;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/office/softmaker/softmaker_office.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

callPackage ./generic.nix (args // rec {
pname = "softmaker-office";
version = "970";
version = "972";
edition = "2018";
suiteName = "SoftMaker Office";

src = fetchurl {
url = "https://www.softmaker.net/down/softmaker-office-${edition}-${version}-amd64.tgz";
sha256 = "14f94p1jms41s2iz5sa770rcyfp4mv01r6jjjis9amx37zrc8yid";
sha256 = "06kgkmqg5269a4vm14i89mw8m1x9yy9ajw0dhfcvjizadyzmlqn1";
};

archive = "office${edition}.tar.lzma";
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/conmon/default.nix
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
project = "conmon";
name = "${project}-${version}";
version = "2.0.0";
version = "2.0.2";

src = fetchFromGitHub {
owner = "containers";
repo = project;
rev = "v${version}";
sha256 = "1sigcylya668f5jzkf1vgfsgqy26l3glh9a3g8lhd2468ax6wymk";
sha256 = "1ha5vhjlb12kshh0j1vpl1vjk8ym9w2j1x762y6zdspkdha1w3dv";
};

nativeBuildInputs = [ pkgconfig ];
10 changes: 5 additions & 5 deletions pkgs/applications/virtualization/virt-top/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, fetchgit, ocamlPackages, autoreconfHook }:

stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "virt-top";
version = "2017-11-18-unstable";
version = "1.0.9";

src = fetchgit {
url = git://git.annexia.org/git/virt-top.git;
rev = "18a751d8c26548bb090ff05e30ccda3092e3373b";
sha256 = "0c4whjvw7p3yvd476i4ppdhi8j821r5y6caqrj2v9dc181cnp01i";
url = git://git.annexia.org/virt-top.git;
rev = "v${version}";
sha256 = "0m7pm8lzlpngsj0vjv0hg8l9ck3gvwpva7r472f8f03xpjffwiga";
};

nativeBuildInputs = [ autoreconfHook ];
12 changes: 7 additions & 5 deletions pkgs/data/fonts/noto-fonts/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchzip, fetchFromGitHub, optipng, cairo, pythonPackages, pkgconfig, pngquant, which, imagemagick }:
{ stdenv, fetchzip, fetchFromGitHub, optipng, cairo, python3Packages, pkgconfig, pngquant, which, imagemagick }:

let
mkNoto = { name, weights, sha256, }:
@@ -89,20 +89,22 @@ in
maintainers = with maintainers; [ mathnerd314 ];
};
};
noto-fonts-emoji = let version = "2018-08-10-unicode11"; in stdenv.mkDerivation {
noto-fonts-emoji = let
version = "unstable-2019-10-22";
in stdenv.mkDerivation {
pname = "noto-fonts-emoji";
inherit version;

src = fetchFromGitHub {
owner = "googlei18n";
repo = "noto-emoji";
rev = "v${version}";
sha256 = "1y54zsvwf5pqhcd9cl2zz5l52qyswn6kycvrq03zm5kqqsngbw3p";
rev = "018aa149d622a4fea11f01c61a7207079da301bc";
sha256 = "0qmnnjpp5lza6g5m3ki6hj46p891h9vl42k3acd0qw8i0jj5yn2c";
};

buildInputs = [ cairo ];
nativeBuildInputs = [ pngquant optipng which cairo pkgconfig imagemagick ]
++ (with pythonPackages; [ python fonttools nototools ]);
++ (with python3Packages; [ python fonttools nototools ]);

postPatch = ''
sed -i 's,^PNGQUANT :=.*,PNGQUANT := ${pngquant}/bin/pngquant,' Makefile
33 changes: 25 additions & 8 deletions pkgs/data/fonts/noto-fonts/tools.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,45 @@
{ fetchFromGitHub, pythonPackages, lib }:
{ fetchFromGitHub, lib, fetchpatch, buildPythonPackage, isPy3k, fonttools, numpy, pillow, six, bash }:

pythonPackages.buildPythonPackage rec {
buildPythonPackage rec {
pname = "nototools";
version = "unstable-2019-03-20";
version = "unstable-2019-10-21";

src = fetchFromGitHub {
owner = "googlefonts";
repo = "nototools";
rev = "9c4375f07c9adc00c700c5d252df6a25d7425870";
sha256 = "0z9i23vl6xar4kvbqbc8nznq3s690mqc5zfv280l1c02l5n41smc";
rev = "cae92ce958bee37748bf0602f5d7d97bb6db98ca";
sha256 = "1jqr0dz23rjqiyxw1w69l6ry16dwdcf3c6cysiy793g2v7pir2yi";
};

propagatedBuildInputs = with pythonPackages; [ fonttools numpy ];
propagatedBuildInputs = [ fonttools numpy ];

patches = lib.optionals isPy3k [
# Additional Python 3 compat https://github.com/googlefonts/nototools/pull/497
(fetchpatch {
url = https://github.com/googlefonts/nototools/commit/ded1f311b3260f015b5c5b80f05f7185392c4eff.patch;
sha256 = "0bn0rlbddxicw0h1dnl0cibgj6xjalja2qcm563y7kk3z5cdwhgq";
})
];

postPatch = ''
sed -ie "s^join(_DATA_DIR_PATH,^join(\"$out/third_party/ucd\",^" nototools/unicode_data.py
'';

checkInputs = [
pillow six bash
];

checkPhase = ''
patchShebangs tests/
cd tests
rm gpos_diff_test.py # needs ttxn?
./run_tests
'';

postInstall = ''
cp -r third_party $out
'';

disabled = pythonPackages.isPy3k;

meta = {
description = "Noto fonts support tools and scripts plus web site generation";
license = lib.licenses.asl20;
5 changes: 3 additions & 2 deletions pkgs/data/fonts/twitter-color-emoji/default.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
, imagemagick
, pkg-config
, pngquant
, python2
, python3
, which
, zopfli
}:
@@ -33,7 +33,7 @@ let
sha256 = "0vzmlp83vnk4njcfkn03jcc1vkg2rf12zf5kj3p3a373xr4ds1zn";
};

python = python2.withPackages (pp: with pp; [
python = python3.withPackages (pp: with pp; [
nototools
]);
in
@@ -118,5 +118,6 @@ stdenv.mkDerivation rec {
## Non-artwork is MIT
license = with licenses; [ asl20 ofl cc-by-40 mit ];
maintainers = with maintainers; [ jtojnar ];
broken = true; # Can't be build using the current Python 3 version of nototools
};
}
Loading