nixpkgs-suyu/pkgs/development/libraries/gstreamer/libav/default.nix
2019-11-14 12:09:05 +01:00

46 lines
844 B
Nix

{ stdenv
, lib
, fetchurl
, meson
, ninja
, pkgconfig
, python3
, gst-plugins-base
, gettext
, libav
}:
# Note that since gst-libav-1.6, libav is actually ffmpeg. See
# https://gstreamer.freedesktop.org/releases/1.6/ for more info.
stdenv.mkDerivation rec {
pname = "gst-libav";
version = "1.16.1";
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1i31ra0l77cfahb6k5xpx45zwvpskzm848aijsbbx9x4x65799g8";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [
meson
ninja
gettext
pkgconfig
python3
];
buildInputs = [
gst-plugins-base
libav
];
meta = with lib; {
description = "FFmpeg/libav plugin for GStreamer";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
};
}