No Gstreamer support in OpenCV4.5.4

Hi, I’m trying to use GStreamer in OpenCV.
I’ve installed OpenCV with line pip install python3-opencv"==4.5.4.60" (for some reasons I need exactly 4.5.4), but unfortunately in python I receive this output for line print(cv2.getBuildInformation()):

General configuration for OpenCV 4.5.4 =====================================
  Version control:               4.5.4-dirty
...
  Video I/O:
    DC1394:                      NO
    FFMPEG:                      YES
      avcodec:                   YES (58.91.100)
      avformat:                  YES (58.45.100)
      avutil:                    YES (56.51.100)
      swscale:                   YES (5.7.100)
      avresample:                NO
    GStreamer:                   NO
    v4l/v4l2:                    YES (linux/videodev2.h)
...

How can I fix this?
System information:
I use docker container with NVidia base image NVIDIA L4T Base | NVIDIA NGC. And this container was updated to Ubuntu 22.04 (which I need for my project). Gstreamer still works, but I lost installation of OpenCV which I’ve done before upgrading Ubuntu version and old script for installation OpenCV provided by NVidia doesn’t work:

apt-get update && apt-get install -y --no-install-recommends \
    nvidia-opencv-dev \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get clean

So the question is: how to install OpenCV for this configuration with support of GStreamer?

sadly, the pip install only supports ffmpeg.
to use the gstreamer backend, install dev gstreamer libs,
then build opencv (w. python bindings) from (github) src