nixpkgs/pkgs/development/libraries/gstreamer/rtsp-server/default.nix

51 lines
1019 B
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 {
pname = "gst-rtsp-server";
version = "1.16.1";
2018-03-25 18:36:10 +01:00
src = fetchurl {
2019-10-02 17:59:16 +01:00
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "0i01f1nr0921z6z4nrh8icz76s2n7i228aqxg1ihvxl65ynsraxh";
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 = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
];
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.unix;
maintainers = with maintainers; [ bkchr ];
};
2018-03-25 18:36:10 +01:00
}