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

42 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, pkgconfig, python
, gst-plugins-base, orc, gettext
2013-12-23 15:36:37 +00:00
, a52dec, libcdio, libdvdread
2018-04-24 23:35:54 +00:00
, libmad, libmpeg2, x264, libintl, lib
, darwin
2013-12-23 15:36:37 +00:00
}:
stdenv.mkDerivation rec {
2018-03-30 19:10:57 +00:00
name = "gst-plugins-ugly-1.14.0";
2013-12-23 15:36:37 +00:00
2018-04-24 23:35:54 +00:00
meta = with lib; {
2014-03-17 13:47:58 +00:00
description = "Gstreamer Ugly Plugins";
2017-09-16 19:28:31 +00:00
homepage = "https://gstreamer.freedesktop.org";
2014-03-17 13:47:58 +00:00
longDescription = ''
a set of plug-ins that have good quality and correct functionality,
but distributing them might pose problems. The license on either
the plug-ins or the supporting libraries might not be how we'd
like. The code might be widely known to present patent problems.
'';
license = licenses.lgpl2Plus;
2015-04-09 01:55:19 +00:00
platforms = platforms.unix;
2018-04-24 23:35:54 +00:00
maintainers = with maintainers; [ matthewbauer ];
2013-12-23 15:36:37 +00:00
};
src = fetchurl {
url = "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.xz";
2018-03-30 19:10:57 +00:00
sha256 = "1la2nny9hfw3rf3wvqggkg8ivn52qrqqs4n4mqz4ppm2r1gymf9z";
2013-12-23 15:36:37 +00:00
};
outputs = [ "out" "dev" ];
2016-04-24 12:39:30 +00:00
nativeBuildInputs = [ meson ninja gettext pkgconfig python ];
2013-12-23 15:36:37 +00:00
buildInputs = [
gst-plugins-base orc
a52dec libcdio libdvdread
libmad libmpeg2 x264
2018-03-14 19:15:06 +00:00
libintl
2018-04-24 23:35:54 +00:00
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks;
[ IOKit CoreFoundation DiskArbitration ]);
2013-12-23 15:36:37 +00:00
}