Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
e84dc8ac 18de94fc

+231 -83
+10
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 1627 1627 </listitem> 1628 1628 </itemizedlist> 1629 1629 </listitem> 1630 + <listitem> 1631 + <para> 1632 + The <literal>cawbird</literal> Twitter client now uses its own 1633 + API keys to count as different application than upstream 1634 + builds. This is done to evade application-level rate limiting. 1635 + While existing accounts continue to work, users may want to 1636 + remove and re-register their account in the client to enjoy a 1637 + better user experience and benefit from this change. 1638 + </para> 1639 + </listitem> 1630 1640 </itemizedlist> 1631 1641 </section> 1632 1642 </section>
+2
nixos/doc/manual/release-notes/rl-2111.section.md
··· 466 466 - `virtualisation.libvirtd.qemu*` options (e.g.: `virtualisation.libvirtd.qemuRunAsRoot`) were moved to [`virtualisation.libvirtd.qemu`](options.html#opt-virtualisation.libvirtd.qemu) submodule, 467 467 - software TPM1/TPM2 support (e.g.: Windows 11 guests) ([`virtualisation.libvirtd.qemu.swtpm`](options.html#opt-virtualisation.libvirtd.qemu.swtpm)), 468 468 - custom OVMF package (e.g.: `pkgs.OVMFFull` with HTTP, CSM and Secure Boot support) ([`virtualisation.libvirtd.qemu.ovmf.package`](options.html#opt-virtualisation.libvirtd.qemu.ovmf.package)). 469 + 470 + - The `cawbird` Twitter client now uses its own API keys to count as different application than upstream builds. This is done to evade application-level rate limiting. While existing accounts continue to work, users may want to remove and re-register their account in the client to enjoy a better user experience and benefit from this change.
+1 -1
nixos/modules/services/web-apps/bookstack.nix
··· 221 221 222 222 assertions = [ 223 223 { assertion = db.createLocally -> db.user == user; 224 - message = "services.bookstack.database.user must be set to ${user} if services.mediawiki.database.createLocally is set true."; 224 + message = "services.bookstack.database.user must be set to ${user} if services.bookstack.database.createLocally is set true."; 225 225 } 226 226 { assertion = db.createLocally -> db.passwordFile == null; 227 227 message = "services.bookstack.database.passwordFile cannot be specified if services.bookstack.database.createLocally is set to true.";
+2 -2
pkgs/applications/graphics/krita/beta.nix
··· 1 1 { callPackage, ... } @ args: 2 2 3 3 callPackage ./generic.nix (args // { 4 - version = "5.0.0-beta1"; 4 + version = "5.0.0-beta2"; 5 5 kde-channel = "unstable"; 6 - sha256 = "1p5l2vpsgcp4wajgn5rgjcyb8l5ickm1nkmfx8zzr4rnwjnyxdbm"; 6 + sha256 = "0hwh6k40f4kmwg14dy0vvm0m8cx8n0q67lrrc620da9mign3hjs7"; 7 7 })
+1 -1
pkgs/applications/graphics/shotwell/default.nix
··· 98 98 passthru = { 99 99 updateScript = gnome.updateScript { 100 100 packageName = pname; 101 - versionPolicy = "none"; 101 + versionPolicy = "odd-unstable"; 102 102 }; 103 103 }; 104 104
+33 -23
pkgs/applications/misc/jrnl/default.nix
··· 1 1 { lib 2 - , ansiwrap 3 - , asteval 4 - , buildPythonApplication 5 - , colorama 6 - , cryptography 7 2 , fetchFromGitHub 8 - , keyring 9 - , parsedatetime 10 - , poetry 11 - , pytestCheckHook 12 - , python-dateutil 13 - , pytz 14 - , pyxdg 15 - , pyyaml 16 - , tzlocal 3 + , fetchpatch 4 + , python3 17 5 }: 18 6 19 - buildPythonApplication rec { 7 + python3.pkgs.buildPythonApplication rec { 20 8 pname = "jrnl"; 21 - version = "2.8"; 9 + version = "2.8.3"; 22 10 format = "pyproject"; 23 11 24 12 src = fetchFromGitHub { 25 13 owner = "jrnl-org"; 26 14 repo = pname; 27 15 rev = "v${version}"; 28 - sha256 = "1zpsvrjhami9y7204yjbdzi04bkkz6i3apda9fh3hbq83y6wzprz"; 16 + sha256 = "sha256-+kPr7ndY6u1HMw6m0UZJ5jxVIPNjlTfQt7OYEdZkHBE="; 29 17 }; 30 18 31 - nativeBuildInputs = [ poetry ]; 19 + nativeBuildInputs = with python3.pkgs; [ 20 + poetry-core 21 + ]; 32 22 33 - propagatedBuildInputs = [ 23 + propagatedBuildInputs = with python3.pkgs; [ 34 24 ansiwrap 35 25 asteval 36 26 colorama ··· 44 34 tzlocal 45 35 ]; 46 36 47 - checkInputs = [ pytestCheckHook ]; 48 - pythonImportsCheck = [ "jrnl" ]; 37 + checkInputs = with python3.pkgs; [ 38 + pytest-bdd 39 + pytestCheckHook 40 + toml 41 + ]; 42 + 43 + patches = [ 44 + # Switch to poetry-core, https://github.com/jrnl-org/jrnl/pull/1359 45 + (fetchpatch { 46 + name = "switch-to-poetry-core.patch"; 47 + url = "https://github.com/jrnl-org/jrnl/commit/a55a240eff7a167af5974a03e9de6f7b818eafd9.patch"; 48 + sha256 = "1w3gb4vasvh51nggf89fsqsm4862m0g7hr36qz22n4vg9dds175m"; 49 + }) 50 + ]; 51 + 52 + preCheck = '' 53 + export HOME=$(mktemp -d); 54 + ''; 55 + 56 + pythonImportsCheck = [ 57 + "jrnl" 58 + ]; 49 59 50 60 meta = with lib; { 51 - homepage = "http://maebert.github.io/jrnl/"; 52 - description = "A simple command line journal application that stores your journal in a plain text file"; 61 + description = "Simple command line journal application that stores your journal in a plain text file"; 62 + homepage = "https://jrnl.sh/"; 53 63 license = licenses.gpl3Only; 54 64 maintainers = with maintainers; [ zalakain ]; 55 65 };
+11 -7
pkgs/applications/misc/slides/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, bash, go, python3, ruby }: 1 + { lib 2 + , bash 3 + , buildGoModule 4 + , fetchFromGitHub 5 + , go 6 + }: 2 7 3 8 buildGoModule rec { 4 9 pname = "slides"; 5 - version = "0.5.0"; 10 + version = "0.6.2"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "maaslalani"; 9 14 repo = "slides"; 10 15 rev = "v${version}"; 11 - sha256 = "175g823n253d3xg8hxycw3gm1hhqb0vz8zs7xxcbdw5rlpd2hjii"; 16 + sha256 = "sha256-D2ex9/XN5JMKwn+g1cB77UMquYW9NdTzhCCvVtTOBfU="; 12 17 }; 13 18 14 19 checkInputs = [ 15 20 bash 16 21 go 17 - python3 18 - ruby 19 22 ]; 20 23 21 - vendorSha256 = "13kx47amwvzyzc251iijsbwa52s8bpld4xllb4y85qkwllfnmq2g"; 24 + vendorSha256 = "sha256-pI5/1LJVP/ZH64Dy2rUoOXM21oqJ8KA0/L8ClGRb5UY="; 22 25 23 26 ldflags = [ 24 - "-s" "-w" 27 + "-s" 28 + "-w" 25 29 "-X=main.Version=${version}" 26 30 ]; 27 31
+2 -2
pkgs/desktops/gnome/apps/gnome-clocks/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "gnome-clocks"; 30 - version = "40.0"; 30 + version = "41.0"; 31 31 32 32 src = fetchurl { 33 33 url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz"; 34 - sha256 = "02d3jg46sn8d9gd4dsaly22gg5vkbz2gpq4pmwpvncb4rsqk7sn2"; 34 + sha256 = "34yLBKuS+mGPXe5RGFce+fyeilt5XqAKNcbcZ3ywLaw="; 35 35 }; 36 36 37 37 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/misc/gnome-applets/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-applets"; 26 - version = "3.40.0"; 26 + version = "3.42.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 - sha256 = "1k6mdkg16ia29fyg8ikf4dfs51gnrmg0f8xwpvd3192lhfsbsh19"; 30 + sha256 = "/RaXR7kv7/Rs05/mLyPd+WZ8EAaPRigDOF0TjvxIedQ="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/misc/gnome-panel/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-panel"; 26 - version = "3.40.0"; 26 + version = "3.42.0"; 27 27 28 28 outputs = [ "out" "dev" "man" ]; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 - hash = "sha256-nxNQde3GZs8rnKkd41xnA+KxdxwQp3B0FPtlbCilmzs="; 32 + hash = "sha256-rqjA78LtuiDpetRpUXnNCiU45kwpBHAsyMWU6OCJhwM="; 33 33 }; 34 34 35 35 patches = [
+2 -2
pkgs/desktops/gnome/misc/metacity/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "metacity"; 21 - version = "3.40.0"; 21 + version = "3.42.0"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 - sha256 = "1d8mj2nshijshfiaica8dirfws1p6i9631frq7q23b3y91jiyk12"; 25 + sha256 = "2J1nnc/tm17vGPBuLcszp6tUPVOzWPqJzmVZPCMe7rw="; 26 26 }; 27 27 28 28 patches = [
+2 -2
pkgs/development/libraries/vte/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "vte"; 28 - version = "0.64.2"; 28 + version = "0.66.0"; 29 29 30 30 outputs = [ "out" "dev" ]; 31 31 32 32 src = fetchurl { 33 33 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 - sha256 = "sha256-KzyCC2WmZ8HYhZuiBHi+Ym0VGcwxWdrCX3AzMMbQfhg="; 34 + sha256 = "sha256-0IE6wA+x102IhR52X3VdSWyD4JcJc1jqG6rbOLN7ezM="; 35 35 }; 36 36 37 37 patches = [
+44 -11
pkgs/development/python-modules/pc-ble-driver-py/default.nix
··· 1 - { lib, fetchFromGitHub, cmake, git, swig, boost, udev, pc-ble-driver, pythonOlder 2 - , buildPythonPackage, enum34, wrapt, future, setuptools, scikit-build, pythonAtLeast }: 1 + { lib 2 + , boost 3 + , buildPythonPackage 4 + , cmake 5 + , cryptography 6 + , fetchFromGitHub 7 + , git 8 + , pc-ble-driver 9 + , pythonAtLeast 10 + , pythonOlder 11 + , scikit-build 12 + , setuptools 13 + , swig 14 + , udev 15 + , wrapt 16 + }: 3 17 4 18 buildPythonPackage rec { 5 19 pname = "pc-ble-driver-py"; 6 - version = "0.15.0"; 7 - disabled = pythonOlder "3.6" || pythonAtLeast "3.9"; 20 + version = "0.16.1"; 21 + 22 + disabled = pythonOlder "3.7" || pythonAtLeast "3.10"; 8 23 9 24 src = fetchFromGitHub { 10 25 owner = "NordicSemiconductor"; 11 26 repo = "pc-ble-driver-py"; 12 - rev = version; 13 - sha256 = "1ckbsq9dwca8hpx9frf9xd80b4z4kn9j7jx94hza9bwzrh26x5ji"; 27 + rev = "v${version}"; 28 + sha256 = "0q2zag77drcjkjm0cbvy2sf6fq2a4yl5li1zv1xfwmy53ami9b5l"; 14 29 }; 15 30 31 + nativeBuildInputs = [ 32 + cmake 33 + swig 34 + git 35 + setuptools 36 + scikit-build 37 + ]; 38 + 39 + buildInputs = [ 40 + boost 41 + pc-ble-driver 42 + ]; 43 + 44 + propagatedBuildInputs = [ 45 + cryptography 46 + wrapt 47 + ]; 48 + 49 + dontUseCmakeConfigure = true; 50 + 16 51 # doCheck tries to write to the global python directory to install things 17 52 doCheck = false; 18 53 19 - nativeBuildInputs = [ cmake swig git setuptools scikit-build ]; 20 - buildInputs = [ boost pc-ble-driver ]; 21 - propagatedBuildInputs = [ enum34 wrapt future ]; 22 - 23 - dontUseCmakeConfigure = true; 54 + pythonImportsCheck = [ 55 + "pc_ble_driver_py" 56 + ]; 24 57 25 58 meta = with lib; { 26 59 description = "Bluetooth Low Energy nRF5 SoftDevice serialization";
+20 -6
pkgs/development/python-modules/piccata/default.nix
··· 1 - { buildPythonPackage, isPy27, fetchFromGitHub, lib, ipaddress }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , isPy27 5 + , pytestCheckHook 6 + }: 2 7 3 8 buildPythonPackage rec { 4 9 pname = "piccata"; 5 10 version = "2.0.0"; 11 + 6 12 disabled = isPy27; 7 13 8 14 src = fetchFromGitHub { ··· 12 18 sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr"; 13 19 }; 14 20 15 - propagatedBuildInputs = [ 16 - ipaddress 21 + checkInputs = [ 22 + pytestCheckHook 17 23 ]; 18 24 19 - pythonImportsCheck = [ "piccata" ]; 25 + disabledTests = [ 26 + # No communication possible in the sandbox 27 + "test_client_server_communication" 28 + ]; 20 29 21 - meta = { 30 + pythonImportsCheck = [ 31 + "piccata" 32 + ]; 33 + 34 + meta = with lib; { 22 35 description = "Simple CoAP (RFC7252) toolkit"; 23 36 homepage = "https://github.com/NordicSemiconductor/piccata"; 24 - maintainers = with lib.maintainers; [ gebner ]; 37 + license = licenses.mit; 38 + maintainers = with maintainers; [ gebner ]; 25 39 }; 26 40 }
+15 -9
pkgs/development/python-modules/pyspinel/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy27 2 - , future, pyserial, ipaddress 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pyserial 5 + , pythonOlder 3 6 }: 4 7 5 8 buildPythonPackage rec { 6 9 pname = "pyspinel"; 7 - version = "unstable-2020-06-19"; # no versioned release since 2018 8 - disabled = isPy27; 10 + version = "unstable-2021-08-19"; 11 + 12 + disabled = pythonOlder "3.7"; 9 13 10 14 src = fetchFromGitHub { 11 15 owner = "openthread"; 12 16 repo = pname; 13 - rev = "e0bb3f8e6f49b593ab248a75de04a71626ae8101"; 14 - sha256 = "0nfmdkgbhmkl82dfxjpwiiarxngm6a3fvdrzpaqp60a4b17pipqg"; 17 + rev = "50d104e29eacd92d229f0b7179ec1067f5851c17"; 18 + sha256 = "0s2r00zb909cq3dd28i91qbl0nz8cga3g98z84gq5jqkjpiy8269"; 15 19 }; 16 20 17 21 propagatedBuildInputs = [ 18 - future 19 - ipaddress 20 22 pyserial 21 23 ]; 22 24 25 + # Tests are out-dated 23 26 doCheck = false; 24 - pythonImportsCheck = [ "spinel" ]; 27 + 28 + pythonImportsCheck = [ 29 + "spinel" 30 + ]; 25 31 26 32 meta = with lib; { 27 33 description = "Interface to the OpenThread Network Co-Processor (NCP)";
+12 -4
pkgs/development/tools/gnome-desktop-testing/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , glib 3 4 , autoreconfHook 4 5 , pkg-config 5 6 , systemd 6 7 , fetchFromGitLab 8 + , nix-update-script 7 9 }: 8 10 9 11 stdenv.mkDerivation rec { 10 12 pname = "gnome-desktop-testing"; 11 - version = "unstable-2019-12-11"; 13 + version = "2021.1"; 12 14 13 15 src = fetchFromGitLab { 14 16 domain = "gitlab.gnome.org"; 15 17 owner = "GNOME"; 16 18 repo = "gnome-desktop-testing"; 17 - rev = "57239dc8ef49ba74d442603a07a3e132b0cfdc6a"; 18 - sha256 = "01c4jhpk23kfcnw3l9kfwjw9v5kgqmfhhqypw4k2d2sdkf4mgfv4"; 19 + rev = "v${version}"; 20 + sha256 = "sha256-PWn4eEZskY0YgMpf6O2dgXNSu8b8T311vFHREv2HE/Q="; 19 21 }; 20 22 21 23 nativeBuildInputs = [ ··· 29 31 ]; 30 32 31 33 enableParallelBuilding = true; 34 + 35 + passthru = { 36 + updateScript = nix-update-script { 37 + attrPath = "gnome-desktop-testing"; 38 + }; 39 + }; 32 40 33 41 meta = with lib; { 34 42 description = "GNOME test runner for installed tests";
+49 -7
pkgs/development/tools/misc/nrfutil/default.nix
··· 1 - { lib, python3Packages, fetchFromGitHub }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkgs 5 + , python3 6 + , python3Packages 7 + }: 8 + let 9 + py = python3.override { 10 + packageOverrides = self: super: { 2 11 3 - with python3Packages; buildPythonApplication rec { 12 + libusb1 = super.libusb1.overridePythonAttrs (oldAttrs: rec { 13 + version = "1.9.3"; 14 + src = oldAttrs.src.override { 15 + inherit version; 16 + sha256 = "0j8p7jb7sibiiib18vyv3w5rrk0f4d2dl99bs18nwkq6pqvwxrk0"; 17 + }; 18 + 19 + postPatch = '' 20 + substituteInPlace usb1/libusb1.py --replace \ 21 + "ctypes.util.find_library(base_name)" \ 22 + "'${pkgs.libusb1}/lib/libusb-1.0${stdenv.hostPlatform.extensions.sharedLibrary}'" 23 + ''; 24 + }); 25 + }; 26 + }; 27 + in 28 + with py.pkgs; 29 + 30 + buildPythonApplication rec { 4 31 pname = "nrfutil"; 5 - version = "6.1"; 32 + version = "6.1.3"; 6 33 7 34 src = fetchFromGitHub { 8 35 owner = "NordicSemiconductor"; 9 36 repo = "pc-nrfutil"; 10 37 rev = "v${version}"; 11 - sha256 = "0g43lf5jmk0qxb7r4h68wr38fli6pjjk67w8l2cpdm9rd8jz4lpn"; 38 + sha256 = "1gpxjdcjn4rjvk649vpkh563c7lx3rrfvamazb1qjii1pxrvvqa7"; 12 39 }; 13 40 14 - propagatedBuildInputs = [ pc-ble-driver-py six pyserial enum34 click ecdsa 15 - protobuf tqdm piccata pyspinel intelhex pyyaml crcmod libusb1 ipaddress ]; 41 + propagatedBuildInputs = [ 42 + click 43 + crcmod 44 + ecdsa 45 + libusb1 46 + intelhex 47 + pc-ble-driver-py 48 + piccata 49 + protobuf 50 + pyserial 51 + pyspinel 52 + pyyaml 53 + tqdm 54 + ]; 16 55 17 - checkInputs = [ nose behave ]; 56 + checkInputs = [ 57 + behave 58 + nose 59 + ]; 18 60 19 61 postPatch = '' 20 62 mkdir test-reports
+20 -1
pkgs/tools/misc/flameshot/default.nix
··· 1 1 { mkDerivation 2 2 , lib 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , qtbase 5 6 , cmake 6 7 , qttools ··· 19 20 sha256 = "1ncknjayl6am740f49g0lc28z1zsifbicxz1j1kwps3ksj15nl7a"; 20 21 }; 21 22 23 + patches = [ 24 + # Support for USE_LAUNCHER_ABSOLUTE_PATH. 25 + # Should be removed when the next release comes out. 26 + (fetchpatch { 27 + url = "https://github.com/flameshot-org/flameshot/commit/1031980ed1e62d24d7f719998b7951d48801e3fa.patch"; 28 + sha256 = "sha256-o8Zz/bBvitXMDFt5rAfubiUPOx+EQ+ITgrfnFM3dFjE="; 29 + }) 30 + # Fix autostart write path. 31 + # Should be removed when the next release comes out. 32 + (fetchpatch { 33 + url = "https://github.com/flameshot-org/flameshot/commit/7977cbb52c2d785abd0d85d9df5991e8f7cae441.patch"; 34 + sha256 = "sha256-wWa9Y+4flBiggOMuX7KQyL+q3f2cALGeQBGusX2x6sk="; 35 + }) 36 + ]; 37 + 22 38 passthru = { 23 39 updateScript = nix-update-script { 24 40 attrPath = pname; ··· 28 44 nativeBuildInputs = [ cmake qttools qtsvg ]; 29 45 buildInputs = [ qtbase ]; 30 46 47 + # Use relative path for the .desktop file. 48 + cmakeFlags = [ "-DUSE_LAUNCHER_ABSOLUTE_PATH=OFF" ]; 49 + 31 50 meta = with lib; { 32 51 description = "Powerful yet simple to use screenshot software"; 33 52 homepage = "https://github.com/flameshot-org/flameshot"; 34 - maintainers = with maintainers; [ scode ]; 53 + maintainers = with maintainers; [ scode oxalica ]; 35 54 license = licenses.gpl3Plus; 36 55 platforms = platforms.linux; 37 56 };
+1 -1
pkgs/top-level/all-packages.nix
··· 6543 6543 inherit (darwin.apple_sdk.frameworks) SystemConfiguration; 6544 6544 }; 6545 6545 6546 - jrnl = python3Packages.callPackage ../applications/misc/jrnl { }; 6546 + jrnl = callPackage ../applications/misc/jrnl { }; 6547 6547 6548 6548 jsawk = callPackage ../tools/text/jsawk { }; 6549 6549