summary refs log tree commit diff
path: root/pkgs/servers/tvheadend
diff options
context:
space:
mode:
authorSimon Vandel Sillesen <simon.vandel@gmail.com>2015-06-20 20:33:57 +0000
committerSimon Vandel Sillesen <simon.vandel@gmail.com>2015-06-24 13:22:09 +0000
commit9dab1a840cced57bd86c9f006dc44b21699d6660 (patch)
treea79bc4e40eef76349493a042ead1f339d9315529 /pkgs/servers/tvheadend
parent5ee8b66a68f8855e113df21562b415aeb567e8b9 (diff)
downloadnixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.tar
nixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.tar.gz
nixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.tar.bz2
nixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.tar.lz
nixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.tar.xz
nixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.tar.zst
nixpkgs-9dab1a840cced57bd86c9f006dc44b21699d6660.zip
tvheadend: init at 4.0.4
Diffstat (limited to 'pkgs/servers/tvheadend')
-rw-r--r--pkgs/servers/tvheadend/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/servers/tvheadend/default.nix b/pkgs/servers/tvheadend/default.nix
new file mode 100644
index 00000000000..7eb2c527406
--- /dev/null
+++ b/pkgs/servers/tvheadend/default.nix
@@ -0,0 +1,31 @@
+{avahi, dbus, fetchurl, git, gzip, libav, libiconv, openssl, pkgconfig, python, stdenv, which, zlib}:
+
+let version = "4.0.4";
+    pkgName = "tvheadend"; in
+
+stdenv.mkDerivation rec {
+  name = "${pkgName}-${version}";
+
+  src = fetchurl {
+    url = "https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz";
+    sha256 = "acc5c852bccb32d6a281f523e78a1cceb4d41987fe015aba3f66e1898b02c168";
+  };
+
+  enableParallelBuilding = true;
+
+  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 = stdenv.lib.licenses.gpl3;
+    platforms = stdenv.lib.platforms.unix;
+    maintainers = [ stdenv.lib.maintainers.simonvandel ];
+  };
+}