root: enable davix and ssl support (#200096)

This enables CERN ROOT to open file urls with scheme
`davs://` and `https://`.

The inclusion of `openssl` in buildInputs
will increase neither closure size nor rebuild frequency,
since `python3`, which depends on `openssl`, is already a dependency.
This commit is contained in:
Shamrock Lee 2022-11-10 00:31:37 +08:00 committed by GitHub
parent 7f290a9d35
commit 0106a68555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, makeWrapper , makeWrapper
, cmake , cmake
, git , git
, davix
, ftgl , ftgl
, gl2ps , gl2ps
, glew , glew
@ -22,6 +23,7 @@
, lz4 , lz4
, xz , xz
, openblas , openblas
, openssl
, pcre , pcre
, nlohmann_json , nlohmann_json
, pkg-config , pkg-config
@ -66,6 +68,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper cmake pkg-config git ]; nativeBuildInputs = [ makeWrapper cmake pkg-config git ];
buildInputs = [ buildInputs = [
davix
ftgl ftgl
gl2ps gl2ps
glew glew
@ -80,6 +83,7 @@ stdenv.mkDerivation rec {
xz xz
gsl gsl
openblas openblas
openssl
xxHash xxHash
libAfterImage libAfterImage
giflib giflib
@ -140,7 +144,7 @@ stdenv.mkDerivation rec {
"-Dcastor=OFF" "-Dcastor=OFF"
"-Dchirp=OFF" "-Dchirp=OFF"
"-Dclad=OFF" "-Dclad=OFF"
"-Ddavix=OFF" "-Ddavix=ON"
"-Ddcache=OFF" "-Ddcache=OFF"
"-Dfail-on-missing=ON" "-Dfail-on-missing=ON"
"-Dfftw3=OFF" "-Dfftw3=OFF"
@ -164,7 +168,7 @@ stdenv.mkDerivation rec {
"-Drfio=OFF" "-Drfio=OFF"
"-Droot7=OFF" "-Droot7=OFF"
"-Dsqlite=OFF" "-Dsqlite=OFF"
"-Dssl=OFF" "-Dssl=ON"
"-Dtmva=ON" "-Dtmva=ON"
"-Dvdt=OFF" "-Dvdt=OFF"
"-Dwebgui=OFF" "-Dwebgui=OFF"