3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gstreamer/rtsp-server/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, pkgconfig
, gettext, gobject-introspection
, gst-plugins-base
, gst-plugins-bad
}:
2018-03-25 18:36:10 +01:00
stdenv.mkDerivation rec {
name = "gst-rtsp-server-${version}";
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;
maintainers = with maintainers; [ bkchr ];
2018-03-25 18:36:10 +01:00
};
src = fetchurl {
url = "${meta.homepage}/src/gst-rtsp-server/${name}.tar.xz";
sha256 = "069zy159izy50blci9fli1i2r8jh91qkmgrz1n0xqciy3bn9x3hr";
2018-03-25 18:36:10 +01:00
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ meson ninja gettext gobject-introspection pkgconfig ];
2018-03-25 18:36:10 +01: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
}