Merge pull request #11799 from flosse/zdfmediathk

pkgs.zdfmediathk: 9 -> 10

+5 -8
+5 -8
pkgs/applications/video/zdfmediathk/default.nix
··· 4 4 5 5 mkDerivation rec { 6 6 7 - version = "9"; 7 + version = "10"; 8 8 name = "zdfmediathk-${version}"; 9 9 src = fetchurl { 10 - url = "http://downloads.sourceforge.net/project/zdfmediathk/Mediathek/Mediathek%209/MediathekView_${version}.zip"; 11 - sha256 = "1wff0igr33z9p1mjw7yvb6658smdwnp22dv8klz0y8qg116wx7a4"; 10 + url = "https://github.com/xaverW/MediathekView/archive/Version${version}.tar.gz"; 11 + sha256 = "12iyigqjslbn8rzym1mq1s0mvss7r97aiy6wfdrq5m0psarlcljw"; 12 12 }; 13 13 14 - buildInputs = [ unzip ]; 15 - 16 - unpackPhase = "unzip $src"; 17 - 18 14 installPhase = '' 19 15 mkdir -p $out/{lib,bin,share/{doc,licenses}} 16 + cd dist/ 20 17 install -m644 MediathekView.jar $out/ 21 18 install -m644 -t $out/lib lib/* 22 19 install -m755 bin/flv.sh $out/bin/ ··· 32 29 33 30 meta = with stdenv.lib; { 34 31 description = "Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)"; 35 - homepage = "http://zdfmediathk.sourceforge.net/"; 32 + homepage = "https://github.com/xaverW/MediathekView/"; 36 33 license = licenses.gpl3; 37 34 maintainers = [ maintainers.flosse ]; 38 35 platforms = platforms.all;