lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
86e17065 fadee272

+54 -88
+5 -5
pkgs/applications/editors/vscode/vscode.nix
··· 13 13 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz"; 14 14 15 15 sha256 = { 16 - x86_64-linux = "1kbjbqb03yapz7067q589gaa7d6cqaipj7hmp1l3nh0bmggzsc4c"; 17 - x86_64-darwin = "1qgadm52c5lzkvgvqrz0n8brm4qbjg8hf1dk6a2ynqhqjxcwbj4r"; 18 - aarch64-linux = "0i3yl9rx9h7qkl3k9qk6gg35nhz737qzzbvzvdwkqjaacsbpfgf8"; 19 - armv7l-linux = "19iz2bxcq6y8sklr6zcnbp47kki9l00x3nvr213lkk3kj08l0afv"; 16 + x86_64-linux = "07wbh4sfvnmvif1a03z8bbqrjmcwmb4q5nn3l2r738i9wrxdxjja"; 17 + x86_64-darwin = "0djcx4n17giynckhsqqx8q7j25cxd3xqgjz3jhh8xh54h4fbvmbz"; 18 + aarch64-linux = "172x6c2pl994ps4xbrgrkzdb02gmpqag61sbxc7796cx0xk8bjpi"; 19 + armv7l-linux = "008bf7iwfizbn67wl1cxahl6h7pg04ms4q2nmr0dndcpxgc1q5gd"; 20 20 }.${system}; 21 21 in 22 22 callPackage ./generic.nix rec { ··· 25 25 26 26 # Please backport all compatible updates to the stable release. 27 27 # This is important for the extension ecosystem. 28 - version = "1.52.1"; 28 + version = "1.53.0"; 29 29 pname = "vscode"; 30 30 31 31 executableName = "code" + lib.optionalString isInsiders "-insiders";
+5 -15
pkgs/applications/networking/remote/anydesk/default.nix
··· 4 4 , pulseaudio }: 5 5 6 6 let 7 - sha256 = { 8 - x86_64-linux = "19751ygq1ng79aniqx91qawc0cw07cwdjdjd88azc9ww6z6nv0mp"; 9 - i386-linux = "0dwc7v4p1dz51444zwn0kds23yi87r4h2d3isfj9xwkn90pxb7in"; 10 - }.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported"); 11 - 12 - arch = { 13 - x86_64-linux = "amd64"; 14 - i386-linux = "i386"; 15 - }.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported"); 16 - 17 7 description = "Desktop sharing application, providing remote support and online meetings"; 18 8 19 9 desktopItem = makeDesktopItem { ··· 28 18 29 19 in stdenv.mkDerivation rec { 30 20 pname = "anydesk"; 31 - version = "6.0.1"; 21 + version = "6.1.0"; 32 22 33 23 src = fetchurl { 34 24 urls = [ 35 - "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz" 36 - "https://download.anydesk.com/linux/generic-linux/${pname}-${version}-${arch}.tar.gz" 25 + "https://download.anydesk.com/linux/${pname}-${version}-amd64.tar.gz" 26 + "https://download.anydesk.com/linux/generic-linux/${pname}-${version}-amd64.tar.gz" 37 27 ]; 38 - inherit sha256; 28 + sha256 = "1qbq6r0yanjappsi8yglw8r54bwf32bjb2i63awmr6pk5kmhhy3r"; 39 29 }; 40 30 41 31 buildInputs = [ ··· 83 73 inherit description; 84 74 homepage = "https://www.anydesk.com"; 85 75 license = licenses.unfree; 86 - platforms = platforms.linux; 76 + platforms = [ "x86_64-linux" ]; 87 77 maintainers = with maintainers; [ shyim ]; 88 78 }; 89 79 }
+2 -2
pkgs/development/python-modules/adafruit-platformdetect/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "Adafruit-PlatformDetect"; 9 - version = "2.28.0"; 9 + version = "3.0.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "aa272605fd8a2ddcc6e5dd8151d628f76a9468c97ba7e4e315d6bc78b9bfb8f8"; 13 + sha256 = "b22d500f674c084cefd73acd233fe12b816c8446f1da3cff58d7876477b862a3"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/awesomeversion/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "awesomeversion"; 11 - version = "21.2.0"; 11 + version = "21.2.2"; 12 12 disabled = pythonOlder "3.8"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "ludeeus"; 16 16 repo = pname; 17 17 rev = version; 18 - sha256 = "1rzd0mcxdjnnzg35hvdvacwrr9brwmkw9bwlb5x6bcp24ry9yl0q"; 18 + sha256 = "1yl09csypa64nhsw7dc6kj8iybm1wkhfzylyfyq8b7jpwdx7ql31"; 19 19 }; 20 20 21 21 postPatch = ''
+22 -16
pkgs/development/python-modules/pyicloud/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , requests 3 + , fetchFromGitHub 4 + , certifi 5 + , click 5 6 , keyring 6 7 , keyrings-alt 7 - , click 8 + , pytz 9 + , requests 8 10 , six 9 11 , tzlocal 10 - , certifi 11 - , bitstring 12 - , unittest2 12 + , pytest-mock 13 + , pytestCheckHook 13 14 , future 14 15 }: 15 16 16 17 buildPythonPackage rec { 17 18 pname = "pyicloud"; 18 - version = "0.9.7"; 19 + version = "0.10.2"; 19 20 20 - src = fetchPypi { 21 - inherit pname version; 22 - sha256 = "dcebb32e474bc28aa77b944a0a64949ef3b5b852cbef6256fbc95347a04e777c"; 21 + src = fetchFromGitHub { 22 + owner = "picklepete"; 23 + repo = pname; 24 + rev = version; 25 + sha256 = "0bxbhvimwbj2jm8dg7sil8yvln17xgjhvpwr4m783vwfcf76kdmy"; 23 26 }; 24 27 25 28 propagatedBuildInputs = [ 26 - requests 29 + certifi 30 + click 31 + future 27 32 keyring 28 33 keyrings-alt 29 - click 34 + pytz 35 + requests 30 36 six 31 37 tzlocal 32 - certifi 33 - bitstring 34 - future 35 38 ]; 36 39 37 - checkInputs = [ unittest2 ]; 40 + checkInputs = [ 41 + pytest-mock 42 + pytestCheckHook 43 + ]; 38 44 39 45 postPatch = '' 40 46 sed -i \
-24
pkgs/misc/emulators/wine/cert-path-stable.patch
··· 1 - diff --git a/dlls/crypt32/rootstore.c b/dlls/crypt32/rootstore.c 2 - index f795181..fb4926a 100644 3 - --- a/dlls/crypt32/rootstore.c 4 - +++ b/dlls/crypt32/rootstore.c 5 - @@ -18,6 +18,7 @@ 6 - #include "config.h" 7 - #include <stdarg.h> 8 - #include <stdio.h> 9 - +#include <stdlib.h> /* getenv */ 10 - #include <sys/types.h> 11 - #ifdef HAVE_SYS_STAT_H 12 - #include <sys/stat.h> 13 - @@ -916,6 +917,11 @@ static void read_trusted_roots_from_known_locations(HCERTSTORE store) 14 - 15 - for (i = 0; !ret && i < ARRAY_SIZE(CRYPT_knownLocations); i++) 16 - ret = import_certs_from_path(CRYPT_knownLocations[i], from, TRUE); 17 - + 18 - + char *nix_cert_file = getenv("NIX_SSL_CERT_FILE"); 19 - + if (nix_cert_file != NULL) 20 - + ret = import_certs_from_path(nix_cert_file, from, TRUE); 21 - + 22 - check_and_store_certs(from, store); 23 - } 24 - CertCloseStore(from, 0);
+8 -8
pkgs/misc/emulators/wine/sources.nix
··· 13 13 in rec { 14 14 15 15 stable = fetchurl rec { 16 - version = "5.0.3"; 17 - url = "https://dl.winehq.org/wine/source/5.0/wine-${version}.tar.xz"; 18 - sha256 = "sha256-nBo1Ni/VE9/1yEW/dtpj6hBaeUrHFEqlA/cTYa820i8="; 16 + version = "6.0"; 17 + url = "https://dl.winehq.org/wine/source/6.0/wine-${version}.tar.xz"; 18 + sha256 = "sha256-tJMGXy+D7kKcYuLsWGmKPPY+94ci4bIHZYIxUuhYLFY="; 19 19 20 20 ## see http://wiki.winehq.org/Gecko 21 21 gecko32 = fetchurl rec { ··· 38 38 39 39 patches = [ 40 40 # Also look for root certificates at $NIX_SSL_CERT_FILE 41 - ./cert-path-stable.patch 41 + ./cert-path.patch 42 42 ]; 43 43 }; 44 44 45 45 unstable = fetchurl rec { 46 46 # NOTE: Don't forget to change the SHA256 for staging as well. 47 - version = "6.0-rc4"; 48 - url = "https://dl.winehq.org/wine/source/6.0/wine-${version}.tar.xz"; 49 - sha256 = "sha256-ndeBORgnfYmtPbvZEesaetocknePF8cnyjqfulkcfsU="; 47 + version = "6.1"; 48 + url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; 49 + sha256 = "sha256-qSwkMIxIuFG13CKh01aWpXMRxEezHsn6VD7FsKpzoUk="; 50 50 inherit (stable) mono gecko32 gecko64; 51 51 52 52 patches = [ ··· 58 58 staging = fetchFromGitHub rec { 59 59 # https://github.com/wine-staging/wine-staging/releases 60 60 inherit (unstable) version; 61 - sha256 = "sha256-GdFiCGnGSDOxGERlfsPMJdSrQTvnx8gf4z4joqIKT7c="; 61 + sha256 = "sha256-uu6wvWT54Zvp86KfUcKepGxjQ6JHRQ7Yuu4yeROdHeo="; 62 62 owner = "wine-staging"; 63 63 repo = "wine-staging"; 64 64 rev = "v${version}";
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2021.2.0"; 5 + version = "2021.2.1"; 6 6 components = { 7 7 "abode" = ps: with ps; [ abodepy ]; 8 8 "accuweather" = ps: with ps; [ accuweather ];
+9 -15
pkgs/servers/home-assistant/default.nix
··· 56 56 extraBuildInputs = extraPackages py.pkgs; 57 57 58 58 # Don't forget to run parse-requirements.py after updating 59 - hassVersion = "2021.2.0"; 59 + hassVersion = "2021.2.1"; 60 60 61 61 in with py.pkgs; buildPythonApplication rec { 62 62 pname = "homeassistant"; ··· 75 75 owner = "home-assistant"; 76 76 repo = "core"; 77 77 rev = version; 78 - sha256 = "116aq683wy7sxdbxr43li90irpfbsz0dv8w0r1fghcjpwlj7ihwa"; 78 + sha256 = "0a8l23n6j0x1hjcifajgbrip7b4l8xcgxn2wa1lcg27p1cghrv5m"; 79 79 }; 80 80 81 81 # leave this in, so users don't have to constantly update their downstream patch handling ··· 100 100 astral 101 101 async-timeout 102 102 attrs 103 + awesomeversion 103 104 bcrypt 104 105 certifi 105 106 ciso8601 ··· 180 181 181 182 pytestFlagsArray = [ 182 183 "-n auto" 184 + # assign tests grouped by file to workers 185 + "--dist loadfile" 183 186 # don't bulk test all components 184 187 "--ignore tests/components" 185 - # prone to race conditions due to parallel file access 186 - "--ignore tests/test_config.py" 187 188 # pyotp since v2.4.0 complains about the short mock keys, hass pins v2.3.0 188 189 "--ignore tests/auth/mfa_modules/test_notify.py" 189 190 "tests" 190 191 ] ++ map (component: "tests/components/" + component) componentTests; 191 192 192 193 disabledTests = [ 193 - # AssertionError: assert 'unknown' == 'not_home' 194 - "test_device_tracker_not_home" 194 + # AssertionError: assert 1 == 0 195 + "test_merge" 196 + # ModuleNotFoundError: No module named 'pyqwikswitch' 197 + "test_merge_id_schema" 195 198 # keyring.errors.NoKeyringError: No recommended backend was available. 196 199 "test_secrets_from_unrelated_fails" 197 200 "test_secrets_credstash" 198 - # AssertionError: Expected 'start' to have been called once. Called 0 times. 199 - "test_setup_and_stop" 200 - # AssertionError: assert {} == {'test': <ANY...ckage': <ANY>} 201 - "test_get_custom_components_internal" 202 - # assert 0 == 1 where 0 = len([]) 203 - "test_error_posted_as_event" 204 - # RuntimeError: Event loop is closed 205 - "test_config_path" 206 - "test_info_endpoint_register_callback_timeout" 207 201 ]; 208 202 209 203 preCheck = ''