[PATCH] FreeTuxTV

diff --git a/pkgs/applications/video/freetuxtv/default.nix b/pkgs/applications/video/freetuxtv/default.nix
new file mode 100644
index 00000000000..be971e72db2
--- /dev/null
+++ b/pkgs/applications/video/freetuxtv/default.nix
@@ -0,0 +1,59 @@
+{ stdenv
+, lib
+, fetchFromGitHub  
+, autoconf
+, automake
+, pkgconfig
+, libtool
+, intltool
+, autoreconfHook
+, wrapGAppsHook
+, gtk3
+, sqlite
+, libnotify
+, libvlc
+, glib
+, glibcLocales
+, curl
+, dbus-glib
+}:
+stdenv.mkDerivation rec {
+  pname = "freetuxtv";
+  version = "0.6.8";
+
+  src = fetchFromGitHub {
+    owner  = "freetuxtv";
+    repo   = "freetuxtv";
+    rev    = "66dda277becaea65376cf41ca75f4bcff94775e0";
+    sha256 = "sha256-nPOOsC5tik/+rt+NBVjKj4NbtUXhqkJywjg0ofhn8w8=";
+  };
+
+  nativeBuildInputs = [
+        autoconf
+        automake
+        pkgconfig
+        libtool
+        intltool
+    autoreconfHook
+    wrapGAppsHook
+  ];
+
+  buildInputs = [
+        gtk3
+        sqlite
+        libnotify
+    libvlc
+    glib
+    glibcLocales
+    curl
+    dbus-glib
+  ];
+
+  meta = with lib; {
+    description = "FreetuxTV Internet television and radio player";
+    homepage = "https://github.com/freetuxtv/freetuxtv";
+    license = licenses.gpl3Only;
+    platforms = [ "x86_64-linux" ];
+  };
+
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index d7838db410f..4174e423000 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -5400,6 +5400,8 @@ with pkgs;
 
   freetube = callPackage ../applications/video/freetube { };
 
+  freetuxtv = callPackage ../applications/video/freetuxtv { };
+
   freqtweak = callPackage ../applications/audio/freqtweak {
     wxGTK = wxGTK31-gtk2;
   };