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

33 lines
1.0 KiB
Nix
Raw Normal View History

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