Files
nixpkgs/pkgs/by-name/v4/v4l2-relayd/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
951 B
Nix

{
lib,
stdenv,
fetchgit,
autoreconfHook,
glib,
gst_all_1,
libtool,
pkg-config,
which,
}:
stdenv.mkDerivation rec {
pname = "v4l2-relayd";
version = "0.1.3";
src = fetchgit {
url = "https://git.launchpad.net/v4l2-relayd";
tag = "upstream/${version}";
hash = "sha256-oU6naDFZ0PQVHZ3brANfMULDqYMYxeJN+MCUCvN/DpU=";
};
patches = [
./upstream-v4l2loopback-compatibility.patch
];
nativeBuildInputs = [
autoreconfHook
libtool
pkg-config
which
];
buildInputs = [
glib
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
];
preConfigure = "./autogen.sh --prefix=$out";
meta = with lib; {
description = "Streaming relay for v4l2loopback using GStreamer";
mainProgram = "v4l2-relayd";
homepage = "https://git.launchpad.net/v4l2-relayd";
license = licenses.gpl2Only;
maintainers = with maintainers; [ betaboon ];
platforms = [ "x86_64-linux" ];
};
}