nixpkgs/pkgs/servers/tvheadend/default.nix
Simon Vandel Sillesen d495ac2957 tvheadend: 4.0.4 -> 4.0.6
Added a comment about network download, and cleaned it up a little
2015-10-21 09:01:42 +02:00

42 lines
1.2 KiB
Nix

{avahi, dbus, fetchurl, git, gzip, libav, libiconv, openssl, pkgconfig, python
, stdenv, which, zlib}:
with stdenv.lib;
let version = "4.0.6";
pkgName = "tvheadend";
in
stdenv.mkDerivation rec {
name = "${pkgName}-${version}";
src = fetchurl {
url = "https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz";
sha256 = "05jidg7jma3mban40iy1bg3sirw6crscxkd8b70if4kjlf86i31l";
};
enableParallelBuilding = true;
# disable dvbscan, as having it enabled causes a network download which
# cannot happen during build.
configureFlags = [ "--disable-dvbscan" ];
buildInputs = [ avahi dbus git gzip libav libiconv openssl pkgconfig python
which zlib ];
preConfigure = "patchShebangs ./configure";
meta = {
description = "TV steaming server";
longDescription = ''
Tvheadend is a TV streaming server and recorder for Linux, FreeBSD and Android
supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, SAT>IP and HDHomeRun as input sources.
Tvheadend offers the HTTP (VLC, MPlayer), HTSP (Kodi, Movian) and SAT>IP streaming.'';
homepage = "https://tvheadend.org";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.simonvandel ];
};
}