git.iko.soy/typeable/nixpkgs
on master help sign in
tvheadend: 4.0.4 -> 4.0.6

Added a comment about network download, and cleaned it up a little

commitd495ac2957ea63dfc4dd8d5e14753ee1d9ffbebd authorSimon Vandel Sillesen <simon.vandel@gmail.com> dateWed 21 Oct 2015, 09:01 (11 years ago) parentf77bf46
1 file changed+12−6
pkgs/servers/tvheadend/default.nix+12−6
pkgs/servers/tvheadend/default.nix+12−6
@@ -1,19 +1,25 @@
11{avahi, dbus, fetchurl, git, gzip, libav, libiconv, openssl, pkgconfig, python
22, stdenv, which, zlib}:
33
4−let version = "4.0.4";
5− pkgName = "tvheadend"; in
4+with stdenv.lib;
5+
6+let version = "4.0.6";
7+ pkgName = "tvheadend";
8+
9+in
610
711stdenv.mkDerivation rec {
812 name = "${pkgName}-${version}";
913
1014 src = fetchurl {
1115 url = "https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz";
12− sha256 = "acc5c852bccb32d6a281f523e78a1cceb4d41987fe015aba3f66e1898b02c168";
16+ sha256 = "05jidg7jma3mban40iy1bg3sirw6crscxkd8b70if4kjlf86i31l";
1317 };
1418
1519 enableParallelBuilding = true;
1620
21+ # disable dvbscan, as having it enabled causes a network download which
22+ # cannot happen during build.
1723 configureFlags = [ "--disable-dvbscan" ];
1824
1925 buildInputs = [ avahi dbus git gzip libav libiconv openssl pkgconfig python
@@ -28,8 +34,8 @@ stdenv.mkDerivation rec {
2834 supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, SAT>IP and HDHomeRun as input sources.
2935 Tvheadend offers the HTTP (VLC, MPlayer), HTSP (Kodi, Movian) and SAT>IP streaming.'';
3036 homepage = "https://tvheadend.org";
31− license = stdenv.lib.licenses.gpl3;
32− platforms = stdenv.lib.platforms.unix;
33− maintainers = [ stdenv.lib.maintainers.simonvandel ];
37+ license = licenses.gpl3;
38+ platforms = platforms.unix;
39+ maintainers = [ maintainers.simonvandel ];
3440 };
3541}