32 hyphen = stdenv.mkDerivation rec {
36 url = "http://dev-www.libreoffice.org/src/5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-${version}.tar.gz";
37 sha256 = "304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705";
42 buildInputs = [ perl ];
47 propagatedBuildInputs = [
53 ] ++ lib.optional stdenv.hostPlatform.isDarwin qtmultimedia;
62 gst_all_1.gst-plugins-base
79 ++ lib.optionals stdenv.hostPlatform.isDarwin [
80 "-DQt5Multimedia_DIR=${lib.getDev qtmultimedia}/lib/cmake/Qt5Multimedia"
81 "-DQt5MultimediaWidgets_DIR=${lib.getDev qtmultimedia}/lib/cmake/Qt5MultimediaWidgets"
82 "-DMACOS_FORCE_SYSTEM_XML_LIBRARIES=OFF"
85 env.NIX_CFLAGS_COMPILE = toString (
87 # with gcc7 this warning blows the log over Hydra's limit
88 "-Wno-expansion-to-defined"
90 # with gcc8, -Wclass-memaccess became part of -Wall and this too exceeds the logging limit
91 ++ lib.optional stdenv.cc.isGNU "-Wno-class-memaccess"
92 # with clang this warning blows the log over Hydra's limit
93 ++ lib.optional stdenv.hostPlatform.isDarwin "-Wno-inconsistent-missing-override"
95 !stdenv.hostPlatform.isDarwin
96 ) ''-DNIXPKGS_LIBUDEV="${lib.getLib systemd}/lib/libudev"''
99 doCheck = false; # fails 13 out of 13 tests (ctest)
101 # remove forbidden references to $TMPDIR
102 preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
103 patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/libexec/*
106 enableParallelBuilding = true;
109 maintainers = with lib.maintainers; [
113 knownVulnerabilities = [
114 "QtWebkit upstream is unmaintained and receives no security updates, see https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/"