1 { lib, mkDerivation, fetchFromGitHub, which, qtbase, qtwebkit, qtscript, xlibsWrapper
2 , libpulseaudio, fftwSinglePrec , lame, zlib, libGLU, libGL, alsa-lib, freetype
3 , perl, pkg-config , libsamplerate, libbluray, lzo, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
4 , libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2, linuxHeaders
11 src = fetchFromGitHub {
15 sha256 = "092w5kvc1gjz6jd2lk2jhcazasz2h3xh0i5iq80k8x3znyp4i6v5";
19 # Disables OS detection used while checking if enforce_wshadow should be disabled.
20 ./disable-os-detection.patch
23 setSourceRoot = "sourceRoot=$(echo */mythtv)";
26 freetype qtbase qtwebkit qtscript lame zlib xlibsWrapper libGLU libGL
27 perl libsamplerate libbluray lzo alsa-lib libpulseaudio fftwSinglePrec libX11 libXv libXrandr libXvMC
28 libXmu libXinerama libXxf86vm libXmu libuuid taglib exiv2
30 nativeBuildInputs = [ pkg-config which yasm libtool autoconf automake file ];
33 [ "--dvb-path=${linuxHeaders}/include" ];
36 homepage = "https://www.mythtv.org/";
37 description = "Open Source DVR";
38 license = licenses.gpl2Plus;
39 platforms = platforms.linux;
40 maintainers = [ maintainers.titanous ];