···32323333for region in "${regions[@]}"; do3434 for hook in "${fixupHooks[@]}"; do3535- eval "$hook" "$i"3535+ eval "$hook" "$region"3636 done3737done
···7777# - If GCC allowed implicit declaration of symbols, it would not fail during7878# compilation even if the configure scripts did not check header presence.7979#8080-+ lib.optionalString (hostPlatform.isDarwin) ''8181- export ac_cv_func_aligned_alloc=no8080++ lib.optionalString (buildPlatform.isDarwin) ''8181+ export build_configargs=ac_cv_func_aligned_alloc=no8282+'' + lib.optionalString (hostPlatform.isDarwin) ''8383+ export host_configargs=ac_cv_func_aligned_alloc=no8484+'' + lib.optionalString (targetPlatform.isDarwin) ''8585+ export target_configargs=ac_cv_func_aligned_alloc=no8286''83878488# In order to properly install libgccjit on macOS Catalina, strip(1)
···28282929 outputs = [ "out" "dev" "man" ];30303131- # fix build with gcc93232- NIX_CFLAGS_LINK = lib.optional (stdenv.system == "i686-linux") "-lgcc";3333-3431 # Even when statically linking, libstdc++.la is put in dependency_libs here,3532 # and hence libstdc++.so passed to the linker, just pass -lstdc++ and let the3633 # compiler do what it does best. (libaudiofile.la is a generated file, so we
+4-2
pkgs/development/libraries/dav1d/default.nix
···10101111stdenv.mkDerivation rec {1212 pname = "dav1d";1313- version = "1.1.0";1313+ version = "1.2.0";14141515 src = fetchFromGitHub {1616 owner = "videolan";1717 repo = pname;1818 rev = version;1919- hash = "sha256-1k6TsaXI9nwrBXTj3hncblkQuN/bvDudWDCsx4E4iwY=";1919+ hash = "sha256-Y9wqa6lIs0eKT+q+95gjzfHIc3pglXzLNaDjsWy1gok=";2020 };2121+2222+ outputs = [ "out" "dev" ];21232224 nativeBuildInputs = [ meson ninja nasm pkg-config ];2325 # TODO: doxygen (currently only HTML and not build by default).
···4848 ipu6-camera-hal = ipu6ep-camera-hal;4949 };50505151- # note: gst-python is in ./python/default.nix - called under pythonPackages5151+ # note: gst-python is in ../../python-modules/gst-python - called under python3Packages5252}
···11{ lib22, stdenv33, fetchFromGitLab44-, fetchpatch54, writeText65, rustPlatform76, meson···2627, Security2728, gst-plugins-good2829, nix-update-script3030+# specifies a limited subset of plugins to build (the default `null` means all plugins supported on the stdenv platform)3131+, plugins ? null3232+# Checks meson.is_cross_build(), so even canExecute isn't enough.3333+, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform && plugins == null3434+, hotdoc2935# TODO: required for case-insensitivity hack below3036, yq3137, moreutils3232-# specify a limited set of plugins to build if not all supported plugins3333-, plugins ? null3438}:35393640let···96949795 selectedPlugins = if plugins != null then lib.unique (lib.sort lib.lessThan plugins) else lib.subtractLists (9896 [9999- "audiofx" # tests have race-y failure, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/33710097 "csound" # tests have weird failure on x86, does not currently work on arm or darwin10198 "livesync" # tests have suspicious intermittent failure, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/35710299 ] ++ lib.optionals stdenv.isDarwin [···163162 cargo164163 cargo-c165164 nasm165165+ ] ++ lib.optionals enableDocumentation [166166+ hotdoc166167 ];167168168169 buildInputs = [···181178 map (plugin: lib.mesonEnable plugin true) selectedPlugins182179 ) ++ [183180 (lib.mesonOption "sodium-source" "system")184184- (lib.mesonEnable "doc" false) # `hotdoc` not packaged in nixpkgs as of writing181181+ (lib.mesonEnable "doc" enableDocumentation)185182 ] ++ (let186183 crossFile = writeText "cross-file.conf" ''187184 [binaries]···191188 "--cross-file=${crossFile}"192189 ]);193190194194- # turn off all auto plugins if a list is specified191191+ # turn off all auto plugins since we use a list of plugins we generate195192 mesonAutoFeatures = "disabled";196193197194 doCheck = true;
···2222 sha256 = "sha256-tg4v9/Nnue7itWNNOmMwPd/t4OahjfyojESodw5+QjQ=";2323 };24242525+ # Do not split 'dev' output until lib/cmake/libssh/libssh-config.cmake2626+ # is fixed to point INTERFACE_INCLUDE_DIRECTORIES to .dev output.2727+ # Otherwise it breaks `plasma5Packages.kio-extras`:2828+ # https://hydra.nixos.org/build/221540008/nixlog/3/tail2929+ #outputs = [ "out" "dev" ];3030+2531 postPatch = ''2632 # Fix headers to use libsodium instead of NaCl2733 sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c
+3-13
pkgs/development/libraries/libuv/default.nix
···11{ stdenv22, lib33, fetchFromGitHub44-, fetchpatch54, autoconf65, automake76, libtool···2324}:24252526stdenv.mkDerivation rec {2626- version = "1.44.2";2727+ version = "1.45.0";2728 pname = "libuv";28292930 src = fetchFromGitHub {3031 owner = pname;3132 repo = pname;3233 rev = "v${version}";3333- sha256 = "sha256-K6v+00basjI32ON27ZjC5spQi/zWCcslDwQwyosq2iY=";3434+ sha256 = "sha256-qKw9QFR24Uw7pVA9isPH8Va+9/5DYuqXz6l6jWcXn+4=";3435 };35363637 outputs = [ "out" "dev" ];3737-3838- patches = [3939- # Fix tests for statically linked variant upstream PR is4040- # https://github.com/libuv/libuv/pull/37354141- (fetchpatch {4242- url = "https://github.com/libuv/libuv/commit/9d898acc564351dde74e9ed9865144e5c41f5beb.patch";4343- sha256 = "sha256-6XsjrseD8a+ny887EKOX0NmHocLMXGf2YL13vkNHUZ0=";4444- })4545- ];46384739 postPatch = let4840 toDisable = [···4353 "getaddrinfo_fail" "getaddrinfo_fail_sync"4454 "threadpool_multiple_event_loops" # times out on slow machines4555 "get_passwd" # passed on NixOS but failed on other Linuxes4646- "tcp_writealot" "udp_multicast_join" "udp_multicast_join6" # times out sometimes5656+ "tcp_writealot" "udp_multicast_join" "udp_multicast_join6" "metrics_pool_events" # times out sometimes4757 "fs_fstat" # https://github.com/libuv/libuv/issues/2235#issuecomment-101208692748584959 # Assertion failed in test/test-tcp-bind6-error.c on line 60: r == UV_EADDRINUSE
···1212# we need to use stdenv.mkDerivation in order not to pollute the libv4l’s closure with Qt1313in stdenv.mkDerivation rec {1414 pname = "v4l-utils";1515- version = "1.22.1";1515+ version = "1.24.1";16161717 src = fetchurl {1818 url = "https://linuxtv.org/downloads/${pname}/${pname}-${version}.tar.bz2";1919- hash = "sha256-Zcb76DCkTKEFxEOwJxgsGyyQU6kdHnKthJ36s4i5TjE=";1919+ hash = "sha256-y7f+imMH9c5TOgXN7XC7k8O6BjlaubbQB+tTt12AX1s=";2020 };21212222 outputs = [ "out" ] ++ lib.optional withUtils "lib" ++ [ "dev" ];