2018-03-31 22:14:10 +01:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig
|
2019-01-21 01:48:04 +00:00
|
|
|
, gettext, gobject-introspection
|
|
|
|
, gst-plugins-base
|
|
|
|
, gst-plugins-bad
|
2018-03-31 22:14:10 +01:00
|
|
|
}:
|
2018-03-25 18:36:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-30 12:31:41 +01:00
|
|
|
name = "gst-rtsp-server-${version}";
|
2019-05-01 15:10:36 +01:00
|
|
|
version = "1.16.0";
|
2018-03-25 18:36:10 +01:00
|
|
|
|
|
|
|
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;
|
2018-03-30 19:28:05 +01:00
|
|
|
maintainers = with maintainers; [ bkchr ];
|
2018-03-25 18:36:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/src/gst-rtsp-server/${name}.tar.xz";
|
2019-05-01 15:10:36 +01:00
|
|
|
sha256 = "069zy159izy50blci9fli1i2r8jh91qkmgrz1n0xqciy3bn9x3hr";
|
2018-03-25 18:36:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ meson ninja gettext gobject-introspection pkgconfig ];
|
2018-03-25 18:36:10 +01:00
|
|
|
|
2019-01-21 01:48:04 +00:00
|
|
|
buildInputs = [ gst-plugins-base gst-plugins-bad ];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
# Enables all features, so that we know when new dependencies are necessary.
|
|
|
|
"-Dauto_features=enabled"
|
|
|
|
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
|
|
|
];
|
2018-03-25 18:36:10 +01:00
|
|
|
}
|