nixpkgs/pkgs/development/libraries/gstreamer/legacy/gst-plugins-bad/default.nix

37 lines
949 B
Nix
Raw Normal View History

{ 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";
};
2018-01-13 18:07:08 +00:00
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 = {
2017-09-16 20:28:31 +01:00
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;
};
}