Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 047fcb59 ba1dbe01

+246 -86
+1
nixos/modules/hardware/video/nvidia.nix
··· 23 23 offloadCfg = pCfg.offload; 24 24 primeEnabled = syncCfg.enable || offloadCfg.enable; 25 25 nvidiaPersistencedEnabled = cfg.nvidiaPersistenced; 26 + nvidiaSettings = cfg.nvidiaSettings; 26 27 in 27 28 28 29 {
+11
nixos/modules/services/desktops/pipewire/bluez-hardware.conf.json
··· 198 198 }, 199 199 { 200 200 "sysname": "Linux", 201 + "release": "~^5\\.10\\.(1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50)($|[^0-9])" 202 + }, 203 + { 204 + "sysname": "Linux", 205 + "release": "~^5\\.10\\.", 206 + "no-features": [ 207 + "msbc-alt1" 208 + ] 209 + }, 210 + { 211 + "sysname": "Linux", 201 212 "release": "~^5\\.12\\.(1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17)($|[^0-9])" 202 213 }, 203 214 {
+1
nixos/modules/services/desktops/pipewire/pipewire-pulse.conf.json
··· 37 37 } 38 38 } 39 39 ], 40 + "context.exec": [], 40 41 "stream.properties": {} 41 42 }
+9 -9
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 1 1 { 2 2 "stable": { 3 - "version": "92.0.4515.159", 4 - "sha256": "04gxgimg5ygzx6nvfws5y9dppdfjg1fhyl8zbykmksbh1myk6zfr", 5 - "sha256bin64": "0lxnqsvqr1kw6swvkhhz475j0xvaa58ha8r1gq8zxmk48mp41985", 3 + "version": "93.0.4577.63", 4 + "sha256": "0ls8r77la6p7474j84wchvs4rvnxwfv7c8xvbxjm8h7jqak4zwza", 5 + "sha256bin64": "1kv742arnv710mhakm2v59dwfypg7j01k7rd5if8h0s49yzdw3qc", 6 6 "deps": { 7 7 "gn": { 8 - "version": "2021-05-07", 8 + "version": "2021-07-08", 9 9 "url": "https://gn.googlesource.com/gn", 10 - "rev": "39a87c0b36310bdf06b692c098f199a0d97fc810", 11 - "sha256": "0x63jr5hssm9dl6la4q5ahy669k4gxvbapqxi5w32vv107jrj8v4" 10 + "rev": "24e2f7df92641de0351a96096fb2c490b2436bb8", 11 + "sha256": "1lwkyhfhw0zd7daqz466n7x5cddf0danr799h4jg3s0yvd4galjl" 12 12 } 13 13 }, 14 14 "chromedriver": { 15 - "version": "92.0.4515.107", 16 - "sha256_linux": "12yckzjhlhxp14j7aphnvlw4xv713vllj44h5pba181ivxavmky3", 17 - "sha256_darwin": "0gm0zazwy053rip9h0ma2s53rc65b8pzy57x48ch0fpq7rrsbycp" 15 + "version": "93.0.4577.15", 16 + "sha256_linux": "11wcimkcgaiz740k9xibi5hq1kd4zgy1vk6bd6cp31wjw4y21x5f", 17 + "sha256_darwin": "0cxf3cg5pg9rigq7wmbap6wvmgpdr6v44bndisyaqhlw7s2hhndn" 18 18 } 19 19 }, 20 20 "beta": {
+10 -6
pkgs/desktops/gnome/core/baobab/default.nix
··· 27 27 }; 28 28 29 29 nativeBuildInputs = [ 30 + desktop-file-utils 31 + gettext 32 + glib 33 + itstool 34 + libxml2 30 35 meson 31 36 ninja 32 37 pkg-config 38 + python3 33 39 vala 34 - gettext 35 - itstool 36 - libxml2 37 - desktop-file-utils 38 40 wrapGAppsHook 39 - python3 41 + # Prevents “error: Package `libhandy-1' not found in specified Vala API 42 + # directories or GObject-Introspection GIR directories” with strictDeps, 43 + # even though it should only be a runtime dependency. 44 + libhandy 40 45 ]; 41 46 42 47 buildInputs = [ 43 48 gtk3 44 49 libhandy 45 50 glib 46 - gnome.adwaita-icon-theme 47 51 ]; 48 52 49 53 doCheck = true;
+3 -2
pkgs/development/compilers/fstar/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "fstar"; 20 - version = "2021.07.31"; 20 + version = "2021.08.27"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "FStarLang"; 24 24 repo = "FStar"; 25 25 rev = "v${version}"; 26 - sha256 = "KZTmphpt8nYpOd8EReAZ6iIkS4uY3ZziKQ3A70BL/90="; 26 + sha256 = "1bf5hrv2nv0ljvdf6jhk59lw1ds3j5qkkcylgxwakylw30g8rxqb"; 27 27 }; 28 28 29 29 nativeBuildInputs = [ makeWrapper installShellFiles ]; ··· 72 72 description = "ML-like functional programming language aimed at program verification"; 73 73 homepage = "https://www.fstar-lang.org"; 74 74 license = licenses.asl20; 75 + changelog = "https://github.com/FStarLang/FStar/raw/v${version}/CHANGES.md"; 75 76 platforms = with platforms; darwin ++ linux; 76 77 maintainers = with maintainers; [ gebner ]; 77 78 };
+3 -3
pkgs/development/libraries/libdeltachat/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "libdeltachat"; 19 - version = "1.59.0"; 19 + version = "1.60.0"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "deltachat"; 23 23 repo = "deltachat-core-rust"; 24 24 rev = version; 25 - sha256 = "1lwck5gb2kys7wxg08q3pnb8cqhzwwqy6nxcf2yc030gmnwm4sya"; 25 + sha256 = "1agm5xyaib4ynmw4mhgmkhh4lnxs91wv0q9i1zfihv2vkckfm2s2"; 26 26 }; 27 27 28 28 patches = [ ··· 37 37 cargoDeps = rustPlatform.fetchCargoTarball { 38 38 inherit src; 39 39 name = "${pname}-${version}"; 40 - sha256 = "13zzc8c50cy6fknrxzw5gf6rcclsn5bcb2bi3z9mmzsl29ga32gx"; 40 + sha256 = "09d3mw2hb1gmqg7smaqwnfm7izw40znl0h1dz7s2imms2cnkjws1"; 41 41 }; 42 42 43 43 nativeBuildInputs = [
+19 -9
pkgs/development/libraries/pipewire/default.nix
··· 27 27 , callPackage 28 28 , nixosTests 29 29 , withMediaSession ? true 30 - , gstreamerSupport ? true, gst_all_1 ? null 31 - , ffmpegSupport ? true, ffmpeg ? null 32 - , bluezSupport ? true, bluez ? null, sbc ? null, libfreeaptx ? null, ldacbt ? null, fdk_aac ? null 30 + , gstreamerSupport ? true 31 + , gst_all_1 ? null 32 + , ffmpegSupport ? true 33 + , ffmpeg ? null 34 + , bluezSupport ? true 35 + , bluez ? null 36 + , sbc ? null 37 + , libfreeaptx ? null 38 + , ldacbt ? null 39 + , fdk_aac ? null 33 40 , nativeHspSupport ? true 34 41 , nativeHfpSupport ? true 35 42 , ofonoSupport ? true 36 43 , hsphfpdSupport ? true 37 - , pulseTunnelSupport ? true, libpulseaudio ? null 38 - , zeroconfSupport ? true, avahi ? null 44 + , pulseTunnelSupport ? true 45 + , libpulseaudio ? null 46 + , zeroconfSupport ? true 47 + , avahi ? null 39 48 }: 40 49 41 50 let 42 51 fontsConf = makeFontsConf { 43 - fontDirectories = []; 52 + fontDirectories = [ ]; 44 53 }; 45 54 46 55 mesonEnable = b: if b then "enabled" else "disabled"; ··· 48 57 49 58 self = stdenv.mkDerivation rec { 50 59 pname = "pipewire"; 51 - version = "0.3.33"; 60 + version = "0.3.34"; 52 61 53 62 outputs = [ 54 63 "out" ··· 66 75 owner = "pipewire"; 67 76 repo = "pipewire"; 68 77 rev = version; 69 - sha256 = "sha256-HP2HcGjrLw0+8pO1upvJQk32v+bifYpi5Rtod0TbBis="; 78 + sha256 = "sha256-ZFARA7YuDnpObGLWbgy1Rk+wzmAxHEMuHQkb6tWD0s0="; 70 79 }; 71 80 72 81 patches = [ ··· 213 222 }; 214 223 }; 215 224 216 - in self 225 + in 226 + self
+27
pkgs/development/python-modules/youtube-search-python/default.nix
··· 1 + { lib, buildPythonPackage, pythonOlder, fetchPypi, httpx }: 2 + 3 + buildPythonPackage rec { 4 + pname = "youtube-search-python"; 5 + version = "1.4.7"; 6 + 7 + disabled = pythonOlder "3.6"; 8 + 9 + src = fetchPypi { 10 + inherit pname version; 11 + sha256 = "7f93d9ecfd9b965dc93782d8174b1c1888f8900e2a303254037ba34e1d0ebed4"; 12 + }; 13 + 14 + propagatedBuildInputs = [ httpx ]; 15 + 16 + pythonImportsCheck = [ "youtubesearchpython" ]; 17 + 18 + # project has no tests 19 + doCheck = false; 20 + 21 + meta = with lib; { 22 + description = "Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3"; 23 + homepage = "https://github.com/alexmercerind/youtube-search-python"; 24 + license = licenses.mit; 25 + maintainers = [ maintainers.marsam ]; 26 + }; 27 + }
+3 -3
pkgs/development/tools/database/pgcli/default.nix
··· 20 20 21 21 buildPythonApplication rec { 22 22 pname = "pgcli"; 23 - version = "3.1.0"; 23 + version = "3.2.0"; 24 24 25 25 disabled = !isPy3k; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - sha256 = "d5b2d803f7e4e7fe679306a000bde5d14d15ec590ddd108f3dc4c0ecad169d2b"; 29 + sha256 = "6cde97e71996bf910a40b579e5285483c10ea04962a08def01c12433d5f7c6b7"; 30 30 }; 31 31 32 32 propagatedBuildInputs = [ ··· 55 55 syntax highlighting. 56 56 ''; 57 57 homepage = "https://pgcli.com"; 58 - changelog = "https://github.com/dbcli/pgcli/blob/v${version}/changelog.rst"; 58 + changelog = "https://github.com/dbcli/pgcli/raw/v${version}/changelog.rst"; 59 59 license = licenses.bsd3; 60 60 maintainers = with maintainers; [ dywedir ]; 61 61 };
+3 -3
pkgs/misc/emulators/wine/sources.nix
··· 44 44 45 45 unstable = fetchurl rec { 46 46 # NOTE: Don't forget to change the SHA256 for staging as well. 47 - version = "6.15"; 47 + version = "6.16"; 48 48 url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; 49 - sha256 = "sha256-Yf1lo2WDKmK656eEKScMB2+yop8cf0YlldHzVDZRd5s="; 49 + sha256 = "sha256-aVCSBQ2YoSnE1/MVPLDkkjJIuuXz2SBjn6SrGnP4+ug="; 50 50 inherit (stable) gecko32 gecko64; 51 51 52 52 ## see http://wiki.winehq.org/Mono ··· 65 65 staging = fetchFromGitHub rec { 66 66 # https://github.com/wine-staging/wine-staging/releases 67 67 inherit (unstable) version; 68 - sha256 = "sha256-zT77xmc2gD8xNSk19OPYVJB6nZmh+g6TYRhVW674RFI="; 68 + sha256 = "sha256-TvTx3vSOyudyC7aravQGcj5KGqI8uHkgHroIJww5buQ="; 69 69 owner = "wine-staging"; 70 70 repo = "wine-staging"; 71 71 rev = "v${version}";
+31 -25
pkgs/servers/elasticmq-server-bin/default.nix
··· 1 - { lib, stdenv, fetchurl, jdk, jre, makeWrapper }: 1 + { lib, stdenv, fetchurl, jdk, jre, makeWrapper, runCommand, python3Packages, writeText }: 2 2 3 - stdenv.mkDerivation rec { 4 - pname = "elasticmq-server"; 5 - version = "0.14.6"; 3 + let 4 + elasticmq-server = stdenv.mkDerivation rec { 5 + pname = "elasticmq-server"; 6 + version = "1.2.0"; 6 7 7 - src = fetchurl { 8 - url = "https://s3-eu-west-1.amazonaws.com/softwaremill-public/${pname}-${version}.jar"; 9 - sha256 = "1cp2pmkc6gx7gr6109jlcphlky5rr6s1wj528r6hyhzdc01sjhhz"; 10 - }; 8 + src = fetchurl { 9 + url = "https://s3-eu-west-1.amazonaws.com/softwaremill-public/${pname}-${version}.jar"; 10 + sha256 = "06bn5ixz0pvvhfvavr6njv8c2i9pgd6gj32wnp2f0fn0z1kypn1f"; 11 + }; 11 12 12 - # don't do anything? 13 - unpackPhase = "${jdk}/bin/jar xf $src favicon.png"; 13 + # don't do anything? 14 + unpackPhase = "${jdk}/bin/jar xf $src favicon.png"; 14 15 15 - nativeBuildInputs = [ makeWrapper ]; 16 + nativeBuildInputs = [ makeWrapper ]; 16 17 17 - installPhase = '' 18 - mkdir -p $out/bin $out/share/elasticmq-server 18 + installPhase = '' 19 + mkdir -p $out/bin $out/share/elasticmq-server 19 20 20 - cp $src $out/share/elasticmq-server/elasticmq-server.jar 21 + cp $src $out/share/elasticmq-server/elasticmq-server.jar 21 22 22 - # TODO: how to add extraArgs? current workaround is to use JAVA_TOOL_OPTIONS environment to specify properties 23 - makeWrapper ${jre}/bin/java $out/bin/elasticmq-server \ 24 - --add-flags "-jar $out/share/elasticmq-server/elasticmq-server.jar" 25 - ''; 23 + # TODO: how to add extraArgs? current workaround is to use JAVA_TOOL_OPTIONS environment to specify properties 24 + makeWrapper ${jre}/bin/java $out/bin/elasticmq-server \ 25 + --add-flags "-jar $out/share/elasticmq-server/elasticmq-server.jar" 26 + ''; 26 27 27 - meta = with lib; { 28 - homepage = "https://github.com/softwaremill/elasticmq"; 29 - description = "Message queueing system with Java, Scala and Amazon SQS-compatible interfaces"; 30 - license = licenses.asl20; 31 - platforms = platforms.unix; 32 - maintainers = with maintainers; [ peterromfeldhk ]; 28 + meta = with lib; { 29 + homepage = "https://github.com/softwaremill/elasticmq"; 30 + description = "Message queueing system with Java, Scala and Amazon SQS-compatible interfaces"; 31 + license = licenses.asl20; 32 + platforms = platforms.unix; 33 + maintainers = with maintainers; [ peterromfeldhk ]; 34 + }; 33 35 }; 34 - } 36 + in elasticmq-server.overrideAttrs (_: { 37 + passthru.tests.elasticmqTest = import ./elasticmq-test.nix { 38 + inherit elasticmq-server runCommand python3Packages writeText; 39 + }; 40 + })
+47
pkgs/servers/elasticmq-server-bin/elasticmq-test.nix
··· 1 + { elasticmq-server, python3Packages, runCommand, writeText}: 2 + 3 + runCommand "${elasticmq-server.name}-tests" (let 4 + commonPy = '' 5 + import boto3 6 + client = boto3.resource( 7 + "sqs", 8 + endpoint_url="http://localhost:9324", 9 + region_name="elasticmq", 10 + aws_secret_access_key="x", 11 + aws_access_key_id="x", 12 + use_ssl=False, 13 + ) 14 + queue = client.get_queue_by_name(QueueName="foobar") 15 + ''; 16 + in { 17 + buildInputs = with python3Packages; [ python boto3 ]; 18 + emqConfig = writeText "emq-test.conf" '' 19 + generate-node-address = true 20 + 21 + queues { 22 + foobar {} 23 + } 24 + ''; 25 + putMessagePy = writeText "put_message.py" '' 26 + ${commonPy} 27 + queue.send_message(MessageBody="bazqux") 28 + ''; 29 + checkMessagePy = writeText "check_message.py" '' 30 + ${commonPy} 31 + messages = queue.receive_messages() 32 + print(f"Received {messages!r}") 33 + assert len(messages) == 1 34 + assert messages[0].body == "bazqux" 35 + ''; 36 + }) '' 37 + JAVA_TOOL_OPTIONS="-Dconfig.file=$emqConfig" ${elasticmq-server}/bin/elasticmq-server & 38 + SERVER_PID=$! 39 + sleep 10 40 + 41 + python $putMessagePy 42 + python $checkMessagePy 43 + touch $out 44 + 45 + # needed on darwin 46 + kill $SERVER_PID 47 + ''
+2 -2
pkgs/tools/misc/tea/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tea"; 5 - version = "0.7.0"; 5 + version = "0.7.1"; 6 6 7 7 src = fetchFromGitea { 8 8 domain = "gitea.com"; 9 9 owner = "gitea"; 10 10 repo = "tea"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-Kq+A6YELfBJ04t7pPnX8Ulh4NSMFn3AHggplLD9J8MY="; 12 + sha256 = "sha256-Y/Znj8vVjVt+rs+n8JRQsptq5u17G2D7r98PDxPLyd4="; 13 13 }; 14 14 15 15 vendorSha256 = null;
+13 -24
pkgs/tools/misc/ytmdl/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 3 - , python3 4 - , fetchpatch 2 + , python3Packages 5 3 , ffmpeg 6 4 }: 7 5 8 - python3.pkgs.buildPythonApplication rec { 6 + python3Packages.buildPythonApplication rec { 9 7 pname = "ytmdl"; 10 - version = "2021.06.26"; 8 + version = "2021.08.01"; 11 9 12 - src = fetchFromGitHub { 13 - owner = "deepjyoti30"; 14 - repo = pname; 15 - rev = version; 16 - sha256 = "1jpd5zhqg2m9vjjjw4mgzb594q1v1pq1yl65py6kw42bq9w5yl5p"; 10 + src = python3Packages.fetchPypi { 11 + inherit pname; 12 + version = builtins.replaceStrings [ ".0" ] [ "." ] version; 13 + sha256 = "f5ef23dcba89aaf2307baf4ffc2326dc5c02324f646e5e5748219ed328202af4"; 17 14 }; 18 15 19 - patches = [ 20 - # Fixes https://github.com/deepjyoti30/ytmdl/issues/188 21 - # Only needed until the next major release after 2021.06.26 22 - (fetchpatch { 23 - url = "https://github.com/deepjyoti30/ytmdl/commit/37ba821d9692249c1fa563505cf60bd11b8e209e.patch"; 24 - includes = [ "bin/ytmdl" ]; 25 - sha256 = "sha256-VqtthpUL0Oub3DK7tSvAnemOzPPTcLvXXeebZIGOgdc="; 26 - }) 27 - ]; 28 - 29 16 postPatch = '' 30 17 substituteInPlace setup.py \ 31 - --replace "bs4" "beautifulsoup4" 18 + --replace "bs4" "beautifulsoup4" \ 19 + --replace "/etc/bash_completion.d" "share/bash-completion/completions" \ 20 + --replace "/usr/share/zsh/functions/Completion/Unix" "share/zsh/site-functions" 32 21 ''; 33 22 34 - 35 - propagatedBuildInputs = with python3.pkgs; [ 23 + propagatedBuildInputs = with python3Packages; [ 36 24 ffmpeg-python 37 25 musicbrainzngs 38 26 rich 39 27 simber 40 28 pydes 41 - youtube-search 29 + youtube-search-python 42 30 unidecode 43 31 pyxdg 44 32 downloader-cli ··· 48 36 pysocks 49 37 youtube-dl 50 38 ytmusicapi 39 + spotipy 51 40 ]; 52 41 53 42 makeWrapperArgs = [
+41
pkgs/tools/package-management/akku/default.nix
··· 1 + { lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, guile, curl, substituteAll }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "akku"; 5 + version = "1.1.0"; 6 + 7 + src = fetchFromGitLab { 8 + owner = "akkuscm"; 9 + repo = "akku"; 10 + rev = "v${version}"; 11 + sha256 = "1pi18aamg1fd6f9ynfl7zx92052xzf0zwmhi2pwcwjs1kbah19f5"; 12 + }; 13 + 14 + patches = [ 15 + # substitute libcurl path 16 + (substituteAll { 17 + src = ./hardcode-libcurl.patch; 18 + libcurl = "${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary}"; 19 + }) 20 + ]; 21 + 22 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 23 + 24 + buildInputs = [ guile ]; 25 + 26 + # Use a dummy package index to boostrap Akku 27 + preBuild = '' 28 + touch bootstrap.db 29 + ''; 30 + 31 + makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; 32 + 33 + meta = with lib; { 34 + homepage = "https://akkuscm.org/"; 35 + description = "Language package manager for Scheme"; 36 + changelog = "https://gitlab.com/akkuscm/akku/-/raw/v${version}/NEWS.md"; 37 + platforms = platforms.all; 38 + license = licenses.gpl3Plus; 39 + maintainers = with maintainers; [ marsam ]; 40 + }; 41 + }
+18
pkgs/tools/package-management/akku/hardcode-libcurl.patch
··· 1 + --- old/private/http.scm 2 + +++ new/private/http.scm 3 + @@ -101,14 +101,7 @@ 4 + ;; shouldn't, but it's an old issue. 5 + (log/error "Could not load libcurl. Please install the curl development(!) package.") 6 + (exit 1))) 7 + - (case (os-name) 8 + - ((darwin) (set! libcurl (open-shared-object "libcurl.dylib"))) 9 + - ((msys) (set! libcurl (open-shared-object "msys-curl-4"))) 10 + - (else 11 + - (guard (exn 12 + - (else 13 + - (set! libcurl (open-shared-object "libcurl.so.3")))) 14 + - (set! libcurl (open-shared-object "libcurl.so.4")))))) 15 + + (set! libcurl (open-shared-object "@libcurl@"))) 16 + (letrec () 17 + (define %curl_global_init (foreign-procedure libcurl int curl_global_init (long))) 18 + (call %curl_global_init #b11)))
+2
pkgs/top-level/all-packages.nix
··· 867 867 inherit (plasma5Packages) kdialog; 868 868 }; 869 869 870 + akku = callPackage ../tools/package-management/akku { }; 871 + 870 872 albert = libsForQt5.callPackage ../applications/misc/albert {}; 871 873 872 874 arch-install-scripts = callPackage ../tools/misc/arch-install-scripts {};
+2
pkgs/top-level/python-packages.nix
··· 9610 9610 9611 9611 youtube-search = callPackage ../development/python-modules/youtube-search { }; 9612 9612 9613 + youtube-search-python = callPackage ../development/python-modules/youtube-search-python { }; 9614 + 9613 9615 youtube-transcript-api = callPackage ../development/python-modules/youtube-transcript-api { }; 9614 9616 9615 9617 yowsup = callPackage ../development/python-modules/yowsup { };