/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tools/nix/sharedLibDeps.nix
55 строк
1 KB
Antoine du Hamel
tools: store "default" OpenSSL version in `openssl-matrix.nix`
04 авг 2026, 19:34
Не верифицирован
04 авг 2026, 19:34
3390622
Код
Авторство
О чём код?
{ pkgs ? import ./pkgs.nix { }, withLief ? true, withQuic ? false, withSQLite ? true, withSSL ? true, withFFI ? true, withTemporal ? false, }: { inherit (pkgs) ada brotli gtest libuv merve nbytes simdjson simdutf uvwasi zlib zstd ; cares = pkgs.c-ares; hdr-histogram = pkgs.hdrhistogram_c; http-parser = pkgs.llhttp; nghttp2 = pkgs.nghttp2.overrideAttrs { version = "1.69.0"; src = pkgs.fetchurl { url = "https://github.com/nghttp2/nghttp2/releases/download/v1.69.0/nghttp2-1.69.0.tar.bz2"; hash = "sha256-PxhfWxw+d4heuc8/LE2ksan3OiS/WVe4KRg60Tf4Lcg="; }; }; } // (pkgs.lib.optionalAttrs withLief { inherit (pkgs) lief; }) // (pkgs.lib.optionalAttrs withQuic { inherit (pkgs) nghttp3 ngtcp2 ; }) // (pkgs.lib.optionalAttrs withSQLite { inherit (pkgs) sqlite; }) // (pkgs.lib.optionalAttrs withFFI { ffi = pkgs.libffiReal; }) // (pkgs.lib.optionalAttrs withSSL ({ inherit (import ./openssl-matrix.nix { inherit pkgs; }) openssl; })) // (pkgs.lib.optionalAttrs withTemporal { inherit (pkgs) temporal_capi; })