diff --git a/flake.nix b/flake.nix index 51bc7717..7e0087dc 100644 --- a/flake.nix +++ b/flake.nix @@ -107,6 +107,12 @@ rev = "bdb1057"; hash = "sha256-C9i/CyQG9QsDqIx75FbgiKp2b/POigUw71vh+rXAdyg="; }; + gst-interpipe_src = pkgs.fetchgit { + # must use fetchgit.since repo in github & submodule in gitlab + fetchSubmodules = true; + url = "https://github.com/RidgeRun/gst-interpipe.git"; + hash = "sha256-Z+RgAsXawqAjNJeaqzoOcHF2xy45fVSo4jm2qIcbJ3o="; + }; gst-wayland-display = import ./nix/gst-wayland-display.nix { inherit pkgs; }; }; diff --git a/nix/wolf.nix b/nix/wolf.nix index e806ccc2..1c531a24 100644 --- a/nix/wolf.nix +++ b/nix/wolf.nix @@ -26,6 +26,25 @@ let cp ./fake-udev $out/bin/fake-udev ''; }; + gst-interpipe = pkgs.stdenv.mkDerivation { + pname = "gst-interpipe"; + version = "1.0"; + src = deps.gst-interpipe_src; + + nativeBuildInputs = with pkgs; [ + meson + ninja + cmake + pkg-config + autoreconfHook + gtk-doc + docbook-xsl-nons + ]; + + buildInputs = with pkgs; [ gst_all_1.gstreamer gst_all_1.gst-plugins-base ]; + + cmakeFlags = [ "-Denable-gtk-doc=false" ]; + }; in pkgs.stdenv.mkDerivation { pname = "wolf"; version = "1.0"; @@ -35,6 +54,7 @@ in pkgs.stdenv.mkDerivation { buildInputs = with pkgs; [ fake-udev + gst-interpipe deps.gst-wayland-display wayland icu