about summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer/rtsp-server/default.nix
blob: 4166f357cdaa68d89b6316c381014604c28ab4c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchurl, meson, ninja, pkgconfig
, gst-plugins-base, gettext, gobjectIntrospection
}:

stdenv.mkDerivation rec {
  name = "gst-rtsp-server-${version}";
  version = "1.14.2";

  meta = with stdenv.lib; {
    description = "Gstreamer RTSP server";
    homepage    = "https://gstreamer.freedesktop.org";
    longDescription = ''
      a library on top of GStreamer for building an RTSP server.
    '';
    license     = licenses.lgpl2Plus;
    platforms   = platforms.linux ++ platforms.darwin;
    maintainers = with maintainers; [ bkchr ];
  };

  src = fetchurl {
    url = "${meta.homepage}/src/gst-rtsp-server/${name}.tar.xz";
    sha256 = "161c49hg21xpkdw5ppc7ljbg6kyslxd1y3v1shsg7ibarxapff7p";
  };

  outputs = [ "out" "dev" ];

  nativeBuildInputs = [ meson ninja gettext gobjectIntrospection pkgconfig ];

  buildInputs = [ gst-plugins-base ];
}