Skip to content

Commit

Permalink
fix(nix): wolf missing gst-interpipe
Browse files Browse the repository at this point in the history
  • Loading branch information
cliarena committed Nov 23, 2024
1 parent ce37969 commit 74f4b8b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; };
};
Expand Down
20 changes: 20 additions & 0 deletions nix/wolf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -35,6 +54,7 @@ in pkgs.stdenv.mkDerivation {

buildInputs = with pkgs; [
fake-udev
gst-interpipe
deps.gst-wayland-display
wayland
icu
Expand Down

0 comments on commit 74f4b8b

Please sign in to comment.