Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub b3d2428d 0ea78385

+45 -41
+3 -2
lib/meta.nix
··· 92 92 93 93 A package is available on a platform if both 94 94 95 - 1. One of `meta.platforms` pattern matches the given platform. 95 + 1. One of `meta.platforms` pattern matches the given 96 + platform, or `meta.platforms` is not present. 96 97 97 98 2. None of `meta.badPlatforms` pattern matches the given platform. 98 99 */ 99 100 availableOn = platform: pkg: 100 - lib.any (platformMatch platform) pkg.meta.platforms && 101 + ((!pkg?meta.platforms) || lib.any (platformMatch platform) pkg.meta.platforms) && 101 102 lib.all (elem: !platformMatch platform elem) (pkg.meta.badPlatforms or []); 102 103 103 104 /* Get the corresponding attribute in lib.licenses
+10 -10
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 1 1 { 2 2 "stable": { 3 - "version": "108.0.5359.124", 4 - "sha256": "0x9ac6m4xdccjdrk2bmq4y7bhfpgf2dv0q7lsbbsa50vlv1gm3fl", 5 - "sha256bin64": "00c11svz9dzkg57484jg7c558l0jz8jbgi5zyjs1w7xp24vpnnpg", 3 + "version": "109.0.5414.74", 4 + "sha256": "0pcfaj3n3rjk4va9g0ajlsv1719kdhqcnjdd4piinqxb4qy27vgd", 5 + "sha256bin64": "1qfp9li90p2d6asy60v12h7r4025l01yf3dzcdyihvr0la3bhdrx", 6 6 "deps": { 7 7 "gn": { 8 - "version": "2022-10-05", 8 + "version": "2022-11-10", 9 9 "url": "https://gn.googlesource.com/gn", 10 - "rev": "b9c6c19be95a3863e02f00f1fe403b2502e345b6", 11 - "sha256": "1rhadb6qk867jafr85x2m3asis3jv7x06blhmad2d296p26d5w6x" 10 + "rev": "1c4151ff5c1d6fbf7fa800b8d4bb34d3abc03a41", 11 + "sha256": "02621c9nqpr4pwcapy31x36l5kbyd0vdgd0wdaxj5p8hrxk67d6b" 12 12 } 13 13 }, 14 14 "chromedriver": { 15 - "version": "108.0.5359.71", 16 - "sha256_linux": "0lxmzmjpy4j5k3hx7wxdbbk87fr883a6323r9fj5nmylb230i3p4", 17 - "sha256_darwin": "14kl58qlxkfq7hipg717nwawzcx7qzg77v322ikgrvqi03f0saci", 18 - "sha256_darwin_aarch64": "08rbp1dqv1xvy1w9jsip3140frbifzblgrn6i9xr612hxysxhap6" 15 + "version": "109.0.5414.25", 16 + "sha256_linux": "1gybh9nyc2j96ics1898qkrn1aajb2gpjb8l6b2p0hs24iqhjilg", 17 + "sha256_darwin": "1w3sz9sxjkir2wwkzjx870qq04xzf9z7b59m953w33mkfm6zvz71", 18 + "sha256_darwin_aarch64": "1qfg22glac44y5pdzscm2yr6wjnhm7p7pkiadblky27fp13dpyv0" 19 19 } 20 20 }, 21 21 "beta": {
+1
pkgs/development/compilers/rust/cargo.nix
··· 26 26 nativeBuildInputs = [ 27 27 pkg-config cmake installShellFiles makeWrapper 28 28 (lib.getDev pkgsHostHost.curl) 29 + zlib 29 30 ]; 30 31 buildInputs = [ cacert file curl python3 openssl zlib ] 31 32 ++ lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
+2 -2
pkgs/development/libraries/mesa/default.nix
··· 41 41 let 42 42 # Release calendar: https://www.mesa3d.org/release-calendar.html 43 43 # Release frequency: https://www.mesa3d.org/releasing.html#schedule 44 - version = "22.3.2"; 44 + version = "22.3.3"; 45 45 branch = versions.major version; 46 46 47 47 withLibdrm = lib.meta.availableOn stdenv.hostPlatform libdrm; ··· 64 64 "ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz" 65 65 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz" 66 66 ]; 67 - sha256 = "c15df758a8795f53e57f2a228eb4593c22b16dffd9b38f83901f76cd9533140b"; 67 + sha256 = "sha256-vteZeIvyvZ7wedl82OCTSL9TywhoGFeOQHc7KxeBKSI="; 68 68 }; 69 69 70 70 # TODO:
+2 -2
pkgs/development/python-modules/google-cloud-monitoring/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "google-cloud-monitoring"; 17 - version = "2.12.0"; 17 + version = "2.14.0"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.7"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - hash = "sha256-J0I8P+5BQq1igzKEGtccv66KxPTrzmPErtpx3ornk24="; 24 + hash = "sha256-Fn21kQVBPjZk9pvsLO2W0vLalbXk3mSOKKn/uieudaY="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+4 -4
pkgs/development/tools/misc/topiary/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "topiary"; 5 - version = "unstable-2022-12-02"; 5 + version = "unstable-2023-01-10"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tweag"; 9 9 repo = pname; 10 - rev = "ae861a30097bd6297f553eb0ea2597f86f16d156"; 11 - sha256 = "sha256-WVrl+LxWSbHkbFGbkUhmw4Klwg6CzfnLAz8F0mF0kb8="; 10 + rev = "c36d4a2253f337e1a28d497826a84754b8d833f6"; 11 + sha256 = "sha256-0uqDuEpL9JCXzD7sQ3PDv4N1KtCSkoMoD5i402uIfas="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-qoCOcYp1NYz/YhIBP6AkCCudVLpqhztRehc2xZoYp9A="; 14 + cargoSha256 = "sha256-PvMjLC133rlsPrgyESuVHIf2TPCtgGQQULCQvBTIJ20="; 15 15 16 16 postInstall = '' 17 17 install -Dm444 languages/* -t $out/share/languages
+4 -15
pkgs/development/tools/selene/default.nix
··· 1 1 { lib 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , robloxSupport ? true 6 5 , pkg-config 7 6 , openssl ··· 11 10 12 11 rustPlatform.buildRustPackage rec { 13 12 pname = "selene"; 14 - version = "0.23.1"; 13 + version = "0.24.0"; 15 14 16 15 src = fetchFromGitHub { 17 16 owner = "kampfkarren"; 18 17 repo = pname; 19 18 rev = version; 20 - sha256 = "sha256-gD49OzhpO059wawA+PJc8SIYQ23965LF21zqIfj62Y4="; 19 + sha256 = "sha256-tw9OLdXhqxgqROub0P/+nd4LQGNw3QDxlCyyf8ogRQM="; 21 20 }; 22 21 23 - cargoSha256 = "sha256-oekqM/Jvh0z6O6iJhSi7Ph5gsF5Fssr5ItKpmyozhPk="; 24 - 25 - patches = [ 26 - # fix broken test 27 - # https://github.com/kampfkarren/selene/pull/471 28 - (fetchpatch { 29 - name = "fix-test-roblox-incorrect-roact-usage.patch"; 30 - url = "https://github.com/kampfkarren/selene/commit/f4abf9f3fb639b372fe4ac47449f8a1e455c28a5.patch"; 31 - sha256 = "sha256-nk7HGygXXu91cqiRZBA/sLBlaJLkNg90C2NX8Kr1WGA="; 32 - }) 33 - ]; 22 + cargoSha256 = "sha256-5/xAX8BhB81cB7x2Pe/MKCV0Fi76ZcO6XHFQxTVIuLA="; 34 23 35 24 nativeBuildInputs = lib.optionals robloxSupport [ 36 25 pkg-config ··· 38 27 39 28 buildInputs = lib.optionals robloxSupport [ 40 29 openssl 41 - ] ++ lib.optional (robloxSupport && stdenv.isDarwin) [ 30 + ] ++ lib.optionals (robloxSupport && stdenv.isDarwin) [ 42 31 darwin.apple_sdk.frameworks.Security 43 32 ]; 44 33
+3 -4
pkgs/stdenv/generic/check-meta.nix
··· 57 57 58 58 isMarkedBroken = attrs: attrs.meta.broken or false; 59 59 60 - hasUnsupportedPlatform = attrs: 61 - (!lib.lists.elem hostPlatform.system (attrs.meta.platforms or lib.platforms.all) || 62 - lib.lists.elem hostPlatform.system (attrs.meta.badPlatforms or [])); 60 + hasUnsupportedPlatform = 61 + pkg: !(lib.meta.availableOn hostPlatform pkg); 63 62 64 63 isMarkedInsecure = attrs: (attrs.meta.knownVulnerabilities or []) != []; 65 64 ··· 272 271 sourceProvenance = listOf lib.types.attrs; 273 272 maintainers = listOf (attrsOf anything); # TODO use the maintainer type from lib/tests/maintainer-module.nix 274 273 priority = int; 275 - platforms = listOf str; 274 + platforms = listOf (either str (attrsOf anything)); # see lib.meta.platformMatch 276 275 hydraPlatforms = listOf str; 277 276 broken = bool; 278 277 unfree = bool;
+10
pkgs/tools/filesystems/mtdutils/default.nix
··· 13 13 nativeBuildInputs = [ autoreconfHook pkg-config ] ++ lib.optional doCheck cmocka; 14 14 buildInputs = [ acl libuuid lzo zlib zstd ]; 15 15 16 + enableParallelBuilding = true; 17 + 16 18 configureFlags = with lib; [ 17 19 (enableFeature doCheck "unit-tests") 18 20 (enableFeature doCheck "tests") 19 21 ]; 20 22 21 23 doCheck = stdenv.hostPlatform == stdenv.buildPlatform; 24 + 25 + outputs = [ "out" "dev" ]; 26 + 27 + postInstall = '' 28 + mkdir -p $dev/lib 29 + mv *.a $dev/lib/ 30 + mv include $dev/ 31 + ''; 22 32 23 33 meta = with lib; { 24 34 description = "Tools for MTD filesystems";
+6 -2
pkgs/tools/text/gawk/default.nix
··· 16 16 17 17 assert (doCheck && stdenv.isLinux) -> glibcLocales != null; 18 18 19 - stdenv.mkDerivation rec { 19 + stdenv.mkDerivation (rec { 20 20 pname = "gawk" + lib.optionalString interactive "-interactive"; 21 21 version = "5.2.1"; 22 22 ··· 83 83 platforms = platforms.unix ++ platforms.windows; 84 84 maintainers = [ ]; 85 85 }; 86 - } 86 + } // lib.optionalAttrs stdenv.hostPlatform.isMusl { 87 + # PIE is incompatible with the "persistent malloc" ("pma") feature. 88 + # FIXME: make unconditional in staging (added to avoid rebuilds in staging-next) 89 + hardeningDisable = [ "pie" ]; 90 + })