Merge staging-next into staging

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

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