nixpkgs/pkgs/development/libraries/gstreamer/bad/default.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

2013-12-23 16:36:37 +01:00
{ stdenv, fetchurl, pkgconfig, python, gst-plugins-base, orc
, faacSupport ? false, faac ? null
, faad2, libass, libkate, libmms
2013-12-23 16:36:37 +01:00
, libmodplug, mpeg2dec, mpg123
, openjpeg, libopus, librsvg
, wildmidi, fluidsynth, libvdpau, wayland
, libwebp, xvidcore, gnutls
2013-12-23 16:36:37 +01:00
}:
assert faacSupport -> faac != null;
2013-12-23 16:36:37 +01:00
stdenv.mkDerivation rec {
name = "gst-plugins-bad-1.2.4";
2013-12-23 16:36:37 +01:00
meta = with stdenv.lib; {
description = "Gstreamer Bad Plugins";
homepage = "http://gstreamer.freedesktop.org";
longDescription = ''
a set of plug-ins that aren't up to par compared to the
rest. They might be close to being good quality, but they're missing
something - be it a good code review, some documentation, a set of tests,
a real live maintainer, or some actual wide use.
'';
license = licenses.lgpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ iyzsong ];
2013-12-23 16:36:37 +01:00
};
src = fetchurl {
url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
sha256 = "1jifzrgr4y3566d2lq30fibcd4rb8z8vpqnr2gihbmymr4z16k4q";
2013-12-23 16:36:37 +01:00
};
nativeBuildInputs = [ pkgconfig python ];
buildInputs = [
gst-plugins-base orc
faad2 libass libkate libmms
2013-12-23 16:36:37 +01:00
libmodplug mpeg2dec mpg123
openjpeg libopus librsvg
wildmidi fluidsynth libvdpau wayland
libwebp xvidcore gnutls
] ++ stdenv.lib.optional faacSupport faac;
2013-12-23 16:36:37 +01:00
}