about summary refs log tree commit diff
path: root/pkgs/applications/video/zdfmediathk/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/zdfmediathk/default.nix')
-rw-r--r--pkgs/applications/video/zdfmediathk/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/applications/video/zdfmediathk/default.nix b/pkgs/applications/video/zdfmediathk/default.nix
index 063420751823..b7f95fccda32 100644
--- a/pkgs/applications/video/zdfmediathk/default.nix
+++ b/pkgs/applications/video/zdfmediathk/default.nix
@@ -4,19 +4,16 @@ with stdenv;
 
 mkDerivation rec {
 
-  version = "9";
+  version = "10";
   name = "zdfmediathk-${version}";
   src = fetchurl {
-    url = "http://downloads.sourceforge.net/project/zdfmediathk/Mediathek/Mediathek%209/MediathekView_${version}.zip";
-    sha256 = "1wff0igr33z9p1mjw7yvb6658smdwnp22dv8klz0y8qg116wx7a4";
+    url = "https://github.com/xaverW/MediathekView/archive/Version${version}.tar.gz";
+    sha256 = "12iyigqjslbn8rzym1mq1s0mvss7r97aiy6wfdrq5m0psarlcljw";
   };
 
-  buildInputs = [ unzip ];
-
-  unpackPhase = "unzip $src";
-
   installPhase = ''
     mkdir -p $out/{lib,bin,share/{doc,licenses}}
+    cd dist/
     install -m644 MediathekView.jar $out/
     install -m644 -t $out/lib lib/*
     install -m755 bin/flv.sh $out/bin/
@@ -32,7 +29,7 @@ mkDerivation rec {
 
   meta = with stdenv.lib; {
     description = "Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)";
-    homepage = "http://zdfmediathk.sourceforge.net/";
+    homepage = "https://github.com/xaverW/MediathekView/";
     license = licenses.gpl3;
     maintainers = [ maintainers.flosse ];
     platforms = platforms.all;