nixpkgs/pkgs/development/libraries/gstreamer/legacy/gst-plugins-bad/default.nix
2018-01-14 02:07:08 +08:00

36 lines
949 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst-plugins-base
, libdvdnav, libdvdread, orc }:
stdenv.mkDerivation rec {
name = "gst-plugins-bad-0.10.23";
src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-bad/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
];
sha256 = "148lw51dm6pgw8vc6v0fpvm7p233wr11nspdzmvq7bjp2cd7vbhf";
};
postInstall = ''
# Fixes CVE-2016-9447
# Does not actually impact NSF playback
rm -v $out/lib/gstreamer-0.10/libgstnsf.so
'';
buildInputs =
[ pkgconfig glib gstreamer gst-plugins-base libdvdnav libdvdread orc ];
enableParallelBuilding = true;
meta = {
homepage = https://gstreamer.freedesktop.org;
description = "Bad (potentially low quality) plug-ins for GStreamer";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.lgpl2Plus;
};
}