Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 263bdbda 8cff7796

+124 -41
+10
maintainers/maintainer-list.nix
··· 12512 fingerprint = "61AE D40F 368B 6F26 9DAE 3892 6861 6B2D 8AC4 DCC5"; 12513 }]; 12514 }; 12515 zeri = { 12516 name = "zeri"; 12517 email = "68825133+zeri42@users.noreply.github.com";
··· 12512 fingerprint = "61AE D40F 368B 6F26 9DAE 3892 6861 6B2D 8AC4 DCC5"; 12513 }]; 12514 }; 12515 + zenithal = { 12516 + name = "zenithal"; 12517 + email = "i@zenithal.me"; 12518 + github = "ZenithalHourlyRate"; 12519 + githubId = 19512674; 12520 + keys = [{ 12521 + longkeyid = "rsa4096/0x87E17EEF9B18B6C9"; 12522 + fingerprint = "1127 F188 280A E312 3619 3329 87E1 7EEF 9B18 B6C9"; 12523 + }]; 12524 + }; 12525 zeri = { 12526 name = "zeri"; 12527 email = "68825133+zeri42@users.noreply.github.com";
+1
nixos/modules/system/activation/activation-script.nix
··· 263 script = config.system.userActivationScripts.script; 264 unitConfig.ConditionUser = "!@system"; 265 serviceConfig.Type = "oneshot"; 266 }; 267 }; 268 };
··· 263 script = config.system.userActivationScripts.script; 264 unitConfig.ConditionUser = "!@system"; 265 serviceConfig.Type = "oneshot"; 266 + wantedBy = [ "default.target" ]; 267 }; 268 }; 269 };
+1
nixos/tests/all-tests.nix
··· 461 unit-php = handleTest ./web-servers/unit-php.nix {}; 462 upnp = handleTest ./upnp.nix {}; 463 usbguard = handleTest ./usbguard.nix {}; 464 uwsgi = handleTest ./uwsgi.nix {}; 465 v2ray = handleTest ./v2ray.nix {}; 466 vault = handleTest ./vault.nix {};
··· 461 unit-php = handleTest ./web-servers/unit-php.nix {}; 462 upnp = handleTest ./upnp.nix {}; 463 usbguard = handleTest ./usbguard.nix {}; 464 + user-activation-scripts = handleTest ./user-activation-scripts.nix {}; 465 uwsgi = handleTest ./uwsgi.nix {}; 466 v2ray = handleTest ./v2ray.nix {}; 467 vault = handleTest ./vault.nix {};
+33
nixos/tests/user-activation-scripts.nix
···
··· 1 + import ./make-test-python.nix ({ lib, ... }: { 2 + name = "user-activation-scripts"; 3 + meta = with lib.maintainers; { maintainers = [ chkno ]; }; 4 + 5 + machine = { 6 + system.userActivationScripts.foo = "mktemp ~/user-activation-ran.XXXXXX"; 7 + users.users.alice = { 8 + initialPassword = "pass1"; 9 + isNormalUser = true; 10 + }; 11 + }; 12 + 13 + testScript = '' 14 + def verify_user_activation_run_count(n): 15 + machine.succeed( 16 + '[[ "$(find /home/alice/ -name user-activation-ran.\\* | wc -l)" == %s ]]' % n 17 + ) 18 + 19 + 20 + machine.wait_for_unit("multi-user.target") 21 + machine.wait_for_unit("getty@tty1.service") 22 + machine.wait_until_tty_matches(1, "login: ") 23 + machine.send_chars("alice\n") 24 + machine.wait_until_tty_matches(1, "Password: ") 25 + machine.send_chars("pass1\n") 26 + machine.send_chars("touch login-ok\n") 27 + machine.wait_for_file("/home/alice/login-ok") 28 + verify_user_activation_run_count(1) 29 + 30 + machine.succeed("/run/current-system/bin/switch-to-configuration test") 31 + verify_user_activation_run_count(2) 32 + ''; 33 + })
+6 -9
pkgs/applications/networking/browsers/palemoon/default.nix
··· 1 { stdenv 2 , lib 3 - , fetchFromGitHub 4 , writeScript 5 , alsa-lib 6 , autoconf213 ··· 52 in 53 stdenv.mkDerivation rec { 54 pname = "palemoon"; 55 - version = "29.4.0.2"; 56 57 - src = fetchFromGitHub { 58 - githubBase = "repo.palemoon.org"; 59 - owner = "MoonchildProductions"; 60 - repo = "Pale-Moon"; 61 - rev = "${version}_Release"; 62 - sha256 = "086f517xkk4smx57klyyvx4m3g6r5f1667w990zhpapbh997hfri"; 63 - fetchSubmodules = true; 64 }; 65 66 passthru.updateScript = writeScript "update-${pname}" ''
··· 1 { stdenv 2 , lib 3 + , fetchzip 4 , writeScript 5 , alsa-lib 6 , autoconf213 ··· 52 in 53 stdenv.mkDerivation rec { 54 pname = "palemoon"; 55 + version = "29.4.1"; 56 57 + src = fetchzip { 58 + url = "http://archive.palemoon.org/source/palemoon-${version}-source.tar.xz"; 59 + stripRoot = false; 60 + sha256 = "0kb9yn1q8rrmnlsyvxvv2gdgyyf12g6rxlyh82lmc0gysvd4qd2c"; 61 }; 62 63 passthru.updateScript = writeScript "update-${pname}" ''
+3 -3
pkgs/applications/networking/cluster/minikube/default.nix
··· 11 12 buildGoModule rec { 13 pname = "minikube"; 14 - version = "1.22.0"; 15 16 - vendorSha256 = "sha256-zAXEwGJ3dnqN/+3k189zqppdiNHPyJ+mdZvDNEWQLsA="; 17 18 doCheck = false; 19 ··· 21 owner = "kubernetes"; 22 repo = "minikube"; 23 rev = "v${version}"; 24 - sha256 = "sha256-wL/HsdV6MZcsR3Y8pGZ5WYUMJ7j+VyJGpLeLIXm5MJM="; 25 }; 26 27 nativeBuildInputs = [ installShellFiles pkg-config which ];
··· 11 12 buildGoModule rec { 13 pname = "minikube"; 14 + version = "1.23.0"; 15 16 + vendorSha256 = "sha256-KhUmyQn97rXX49EFqUrR7UEm0J5gIdogUJMVW1Wjrdw="; 17 18 doCheck = false; 19 ··· 21 owner = "kubernetes"; 22 repo = "minikube"; 23 rev = "v${version}"; 24 + sha256 = "sha256-Cf77qaAsavkSpSoBJz3kcPzL2SL7X9O9lCTYcm1tFFQ="; 25 }; 26 27 nativeBuildInputs = [ installShellFiles pkg-config which ];
+2 -2
pkgs/applications/science/biology/bowtie/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "bowtie"; 5 - version = "1.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "BenLangmead"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "0da2kzyfsn6xv8mlqsv2vv7k8g0c9d2vgqzq8yqk888yljdzcrjp"; 12 }; 13 14 buildInputs = [ zlib ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "bowtie"; 5 + version = "1.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "BenLangmead"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-mWItmrTMPst/NnzSpxxTHcBztDqHPCza9yOsZPwp7G4="; 12 }; 13 14 buildInputs = [ zlib ];
+9 -5
pkgs/applications/video/streamlink/default.nix
··· 2 , python3Packages 3 , rtmpdump 4 , ffmpeg 5 }: 6 7 python3Packages.buildPythonApplication rec { ··· 33 ffmpeg 34 ]; 35 36 - # note that upstream currently uses requests 2.25.1 in Windows builds 37 - postPatch = '' 38 - substituteInPlace setup.py \ 39 - --replace 'requests>=2.26.0,<3.0' 'requests' 40 - ''; 41 42 meta = with lib; { 43 homepage = "https://streamlink.github.io/";
··· 2 , python3Packages 3 , rtmpdump 4 , ffmpeg 5 + , fetchpatch 6 }: 7 8 python3Packages.buildPythonApplication rec { ··· 34 ffmpeg 35 ]; 36 37 + patches = [ 38 + # Patch failing tests to expect correct Accept-Encoding as generated by Requests 39 + (fetchpatch { 40 + url = "https://github.com/streamlink/streamlink/commit/ae747a113199c119bced4613d33edcc67a222bb9.patch"; 41 + includes = [ "tests/test_stream_json.py" ]; 42 + sha256 = "sha256-KEgyWdh5DNgNktmLSvKQowUQO9p9Q7zP4NbCQJPNgKw="; 43 + }) 44 + ]; 45 46 meta = with lib; { 47 homepage = "https://streamlink.github.io/";
+2 -2
pkgs/development/libraries/science/math/openlibm/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "openlibm"; 5 - version = "0.7.5"; 6 src = fetchurl { 7 url = "https://github.com/JuliaLang/openlibm/archive/v${version}.tar.gz"; 8 - sha256 = "sha256-vpg7nh5A5pbou7frj2N208oK5nWubYKTZUA4Ww7uwVs="; 9 }; 10 11 makeFlags = [ "prefix=$(out)" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "openlibm"; 5 + version = "0.8.0"; 6 src = fetchurl { 7 url = "https://github.com/JuliaLang/openlibm/archive/v${version}.tar.gz"; 8 + sha256 = "sha256-A2IHaN9MpSamPdZ1xt6VpcnRZ/9ZVVzlemHGv0nkAO4="; 9 }; 10 11 makeFlags = [ "prefix=$(out)" ];
+1 -1
pkgs/development/python-modules/aiobotocore/default.nix
··· 21 # relax version constraints: aiobotocore works with newer botocore versions 22 # the pinning used to match some `extras_require` we're not using. 23 postPatch = '' 24 - substituteInPlace setup.py --replace 'botocore>=1.20.49,<1.20.50' 'botocore' 25 ''; 26 27 propagatedBuildInputs = [ wrapt aiohttp aioitertools botocore ];
··· 21 # relax version constraints: aiobotocore works with newer botocore versions 22 # the pinning used to match some `extras_require` we're not using. 23 postPatch = '' 24 + substituteInPlace setup.py --replace 'botocore>=1.20.106,<1.20.107' 'botocore' 25 ''; 26 27 propagatedBuildInputs = [ wrapt aiohttp aioitertools botocore ];
+3 -3
pkgs/development/tools/pscale/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pscale"; 5 - version = "0.68.0"; 6 7 src = fetchFromGitHub { 8 owner = "planetscale"; 9 repo = "cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-SAKbz33Fpi3sQcqwD2UK5wloJqNs2HohsiGMl1gkfA0="; 12 }; 13 14 - vendorSha256 = "sha256-dEkCJe6qiyB/pNh78o2/TTRmWQDsUV2TsXiuchC1JLA="; 15 16 meta = with lib; { 17 homepage = "https://www.planetscale.com/";
··· 2 3 buildGoModule rec { 4 pname = "pscale"; 5 + version = "0.72.0"; 6 7 src = fetchFromGitHub { 8 owner = "planetscale"; 9 repo = "cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-+T1C7qLXSmdpx9uHFK3o4hzaAImd5or/MkE3PB8ZiAs="; 12 }; 13 14 + vendorSha256 = "sha256-7VtDAln/uGalio0pcpqh8XLC0+72dokF+4SmuhPF8AY="; 15 16 meta = with lib; { 17 homepage = "https://www.planetscale.com/";
+17
pkgs/misc/vscode-extensions/default.nix
··· 393 }; 394 }; 395 396 dhall.dhall-lang = buildVscodeMarketplaceExtension { 397 mktplcRef = { 398 name = "dhall-lang";
··· 393 }; 394 }; 395 396 + denoland.vscode-deno = buildVscodeMarketplaceExtension { 397 + mktplcRef = { 398 + name = "vscode-deno"; 399 + publisher = "denoland"; 400 + version = "3.9.1"; 401 + sha256 = "sha256-OuGTjmJQFAWrYp7YnFpyo0NnnCcXYF8itYjGKMa3FCs="; 402 + }; 403 + meta = with lib; { 404 + changelog = "https://marketplace.visualstudio.com/items/denoland.vscode-deno/changelog"; 405 + description = "A language server client for Deno"; 406 + downloadPage = "https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno"; 407 + homepage = "https://github.com/denoland/vscode_deno"; 408 + license = licenses.mit; 409 + maintainers = with maintainers; [ ratsclub ]; 410 + }; 411 + }; 412 + 413 dhall.dhall-lang = buildVscodeMarketplaceExtension { 414 mktplcRef = { 415 name = "dhall-lang";
+2 -2
pkgs/servers/gerbera/default.nix
··· 65 in 66 stdenv.mkDerivation rec { 67 pname = "gerbera"; 68 - version = "1.9.0"; 69 70 src = fetchFromGitHub { 71 repo = "gerbera"; 72 owner = "gerbera"; 73 rev = "v${version}"; 74 - sha256 = "sha256-2nSxc5Tvy5EXYH1FqR455r84Y07Jg0sOgIScuAdDn6Q="; 75 }; 76 77 postPatch = lib.optionalString enableMysql ''
··· 65 in 66 stdenv.mkDerivation rec { 67 pname = "gerbera"; 68 + version = "1.9.1"; 69 70 src = fetchFromGitHub { 71 repo = "gerbera"; 72 owner = "gerbera"; 73 rev = "v${version}"; 74 + sha256 = "sha256-FtUKj3IhLMRs3VzawFgy6rnd+beW+Kvzq6tk8wPv7pw="; 75 }; 76 77 postPatch = lib.optionalString enableMysql ''
+1 -1
pkgs/servers/home-assistant/default.nix
··· 743 744 pytestFlagsArray = [ 745 # parallelize test run 746 - "--numprocesses auto" 747 # assign tests grouped by file to workers 748 "--dist loadfile" 749 # retry racy tests that end in "RuntimeError: Event loop is closed"
··· 743 744 pytestFlagsArray = [ 745 # parallelize test run 746 + "--numprocesses $NIX_BUILD_CORES" 747 # assign tests grouped by file to workers 748 "--dist loadfile" 749 # retry racy tests that end in "RuntimeError: Event loop is closed"
+2 -2
pkgs/tools/audio/abcmidi/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 - version = "2021.06.27"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 - sha256 = "sha256-tLKxs1p1CIU/2XV1fMgWrwdtePeXOBZUMjz46kgp9C0="; 10 }; 11 12 meta = with lib; {
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 + version = "2021.09.15"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 + sha256 = "sha256-BrEgvrAHNfJpFTlI8tec+9w3G+5YR15lbzh/RKKpQ1c="; 10 }; 11 12 meta = with lib; {
-6
pkgs/tools/misc/yt-dlp/default.nix
··· 27 sha256 = "sha256-yn53zbBVuiaD31sIB6qxweEgy+AsjzXZ0yk9lNva6mM="; 28 }; 29 30 - # build_lazy_extractors assumes this directory exists but it is not present in 31 - # the PyPI package 32 - postPatch = '' 33 - mkdir -p ytdlp_plugins/extractor 34 - ''; 35 - 36 propagatedBuildInputs = [ websockets mutagen ] 37 ++ lib.optional hlsEncryptedSupport pycryptodome; 38
··· 27 sha256 = "sha256-yn53zbBVuiaD31sIB6qxweEgy+AsjzXZ0yk9lNva6mM="; 28 }; 29 30 propagatedBuildInputs = [ websockets mutagen ] 31 ++ lib.optional hlsEncryptedSupport pycryptodome; 32
+24
pkgs/tools/networking/proxychains-ng/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "proxychains-ng"; 8 + version = "4.15"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "rofl0r"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + sha256 = "128d502y8pn7q2ls6glx9bvibwzfh321sah5r5li6b6iywh2zqlc"; 15 + }; 16 + 17 + meta = with lib; { 18 + description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; 19 + homepage = "https://github.com/rofl0r/proxychains-ng"; 20 + license = licenses.gpl2Plus; 21 + maintainers = with maintainers; [ zenithal ]; 22 + platforms = platforms.linux; 23 + }; 24 + }
+3 -3
pkgs/tools/networking/sish/default.nix
··· 5 6 buildGoModule rec { 7 pname = "sish"; 8 - version = "1.1.6"; 9 10 src = fetchFromGitHub { 11 owner = "antoniomika"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-tljJp6Yoc19kkG7F3g1XhSDK2Y/D/2oRHiDkkOP3nn0="; 15 }; 16 17 - vendorSha256 = "sha256-AHCa6ErxXzDPUFuq4ATD08e2Wz0tNibV2lLXoD7Sygk="; 18 19 meta = with lib; { 20 description = "HTTP(S)/WS(S)/TCP Tunnels to localhost";
··· 5 6 buildGoModule rec { 7 pname = "sish"; 8 + version = "1.1.7"; 9 10 src = fetchFromGitHub { 11 owner = "antoniomika"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-v/7DhakTVlcbnhujZOoVx5mpeyMwVI4CfYV12QqR7I4="; 15 }; 16 17 + vendorSha256 = "sha256-eMqHPxewQ9mvBpcBb+13HmaLDabCGt6C+qfbgaW8/YE="; 18 19 meta = with lib; { 20 description = "HTTP(S)/WS(S)/TCP Tunnels to localhost";
+2 -2
pkgs/tools/security/hcxtools/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "hcxtools"; 5 - version = "6.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "ZerBea"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-4/kqy0oIe2FdKWtVj11PAUbdWPcKmZ1aIxLx/Zw1E2w="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "hcxtools"; 5 + version = "6.2.4"; 6 7 src = fetchFromGitHub { 8 owner = "ZerBea"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-C6nAZkkdtBSv4WDxoXPsHzcGglB8PEX3ioFaTydiHsU="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ];
+2
pkgs/top-level/all-packages.nix
··· 8357 8358 proxychains = callPackage ../tools/networking/proxychains { }; 8359 8360 proxify = callPackage ../tools/networking/proxify { }; 8361 8362 proxytunnel = callPackage ../tools/misc/proxytunnel {
··· 8357 8358 proxychains = callPackage ../tools/networking/proxychains { }; 8359 8360 + proxychains-ng = callPackage ../tools/networking/proxychains-ng { }; 8361 + 8362 proxify = callPackage ../tools/networking/proxify { }; 8363 8364 proxytunnel = callPackage ../tools/misc/proxytunnel {