astroterm: 1.0.4 -> 1.0.6 (#378908)
[NixPkgs.git] / pkgs / by-name / v4 / v4l2-relayd / package.nix
blob8d056f3a00e2a133a7452f9307f690f74b81d048
2   lib,
3   stdenv,
4   fetchgit,
5   autoreconfHook,
6   glib,
7   gst_all_1,
8   libtool,
9   pkg-config,
10   which,
12 stdenv.mkDerivation rec {
13   pname = "v4l2-relayd";
14   version = "0.1.3";
16   src = fetchgit {
17     url = "https://git.launchpad.net/v4l2-relayd";
18     tag = "upstream/${version}";
19     hash = "sha256-oU6naDFZ0PQVHZ3brANfMULDqYMYxeJN+MCUCvN/DpU=";
20   };
22   patches = [
23     ./upstream-v4l2loopback-compatibility.patch
24   ];
26   nativeBuildInputs = [
27     autoreconfHook
28     libtool
29     pkg-config
30     which
31   ];
33   buildInputs = [
34     glib
35     gst_all_1.gstreamer
36     gst_all_1.gst-plugins-base
37   ];
39   preConfigure = "./autogen.sh --prefix=$out";
41   meta = with lib; {
42     description = "Streaming relay for v4l2loopback using GStreamer";
43     mainProgram = "v4l2-relayd";
44     homepage = "https://git.launchpad.net/v4l2-relayd";
45     license = licenses.gpl2Only;
46     maintainers = with maintainers; [ betaboon ];
47     platforms = [ "x86_64-linux" ];
48   };