Merge pull request #11799 from flosse/zdfmediathk

pkgs.zdfmediathk: 9 -> 10
This commit is contained in:
Domen Kožar 2015-12-18 01:44:09 +01:00
commit 59455da528

View file

@ -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;