36 lines
949 B
Nix
36 lines
949 B
Nix
{ 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;
|
||
};
|
||
}
|