nixpkgs/pkgs/os-specific/linux/v4l2-relayd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
950 B
Nix
Raw Normal View History

2023-04-07 10:29:47 +00:00
{ lib
, stdenv
, fetchgit
, autoreconfHook
, glib
, gst_all_1
, libtool
, pkg-config
, which
}:
stdenv.mkDerivation rec {
pname = "v4l2-relayd";
2023-04-07 10:29:47 +00:00
version = "0.1.3";
src = fetchgit {
url = "https://git.launchpad.net/v4l2-relayd";
rev = "refs/tags/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
];
2023-04-07 10:29:47 +00:00
preConfigure = "./autogen.sh --prefix=$out";
meta = with lib; {
description = "Streaming relay for v4l2loopback using GStreamer";
mainProgram = "v4l2-relayd";
2023-04-07 10:29:47 +00:00
homepage = "https://git.launchpad.net/v4l2-relayd";
2024-05-26 12:16:07 +00:00
license = licenses.gpl2Only;
2023-04-07 10:29:47 +00:00
maintainers = with maintainers; [ betaboon ];
platforms = [ "x86_64-linux" ];
};
}