From 61420e7ea95933db47e4b74c5a274e008fd31feb Mon Sep 17 00:00:00 2001 From: Markus Kohlhase Date: Fri, 18 Dec 2015 00:43:07 +0100 Subject: [PATCH] pkgs.zdfmediathk: 9 -> 10 --- pkgs/applications/video/zdfmediathk/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/video/zdfmediathk/default.nix b/pkgs/applications/video/zdfmediathk/default.nix index 06342075182..b7f95fccda3 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;