nixpkgs/pkgs/applications/video/mythtv/default.nix

33 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, which, qt4, x11, libpulseaudio, fftwSinglePrec
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
2014-11-02 21:06:40 +01:00
, yasm, libuuid, taglib, libtool, autoconf, automake, file
}:
stdenv.mkDerivation rec {
2014-11-02 21:06:40 +01:00
name = "mythtv-${version}";
version = "0.27.4";
src = fetchurl {
2014-11-02 21:06:40 +01:00
url = "https://github.com/MythTV/mythtv/archive/v${version}.tar.gz";
sha256 = "0nrn4fbkkzh43n7jgbv21i92sb4z4yacwj9yj6m3hjbffzy4ywqz";
};
2014-11-02 21:06:40 +01:00
sourceRoot = "${name}/mythtv";
buildInputs = [
freetype qt4 lame zlib x11 mesa perl alsaLib libpulseaudio fftwSinglePrec
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
2014-11-02 21:06:40 +01:00
libuuid taglib
];
2014-11-02 21:06:40 +01:00
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];
2014-11-02 21:06:40 +01:00
meta = with stdenv.lib; {
homepage = "https://www.mythtv.org/";
description = "Open Source DVR";
license = licenses.gpl2;
meta.platforms = platforms.linux;
maintainers = [ maintainers.titanous ];
};
}