2015-01-19 21:14:36 +00:00
|
|
|
{ stdenv, fetchFromGitHub, kodi }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
pluginDir = "/lib/kodi/plugin";
|
|
|
|
|
|
|
|
mkKodiPlugin = { plugin, namespace, version, src, meta, ... }:
|
|
|
|
stdenv.lib.makeOverridable stdenv.mkDerivation rec {
|
|
|
|
inherit src meta;
|
|
|
|
name = "kodi-plugin-${plugin}-${version}";
|
|
|
|
passthru = {
|
|
|
|
kodiPlugin = pluginDir;
|
|
|
|
namespace = namespace;
|
|
|
|
};
|
|
|
|
dontStrip = true;
|
|
|
|
installPhase = ''
|
|
|
|
d=$out${pluginDir}/${namespace}
|
|
|
|
mkdir -p $d
|
|
|
|
sauce="."
|
|
|
|
[ -d ${namespace} ] && sauce=${namespace}
|
2015-03-11 18:52:35 +00:00
|
|
|
cp -R "$sauce/"* $d
|
2015-01-19 21:14:36 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
|
|
|
|
|
|
|
advanced-launcher = mkKodiPlugin rec {
|
|
|
|
|
|
|
|
plugin = "advanced-launcher";
|
|
|
|
namespace = "plugin.program.advanced.launcher";
|
|
|
|
version = "2.5.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Angelscry";
|
|
|
|
repo = namespace;
|
|
|
|
rev = "bb380b6e8b664246a791f553ddc856cbc60dae1f";
|
|
|
|
sha256 = "0g4kk68zjl5rf6mll4g4cywq70s267471dp5r1qp3bpfpzkn0vf2";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://forum.kodi.tv/showthread.php?tid=85724";
|
|
|
|
description = "A program launcher for Kodi";
|
|
|
|
longDescription = ''
|
|
|
|
Advanced Launcher allows you to start any Linux, Windows and
|
|
|
|
OS X external applications (with command line support or not)
|
|
|
|
directly from the Kodi GUI. Advanced Launcher also give you
|
|
|
|
the possibility to edit, download (from Internet resources)
|
|
|
|
and manage all the meta-data (informations and images) related
|
|
|
|
to these applications.
|
|
|
|
'';
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
genesis = mkKodiPlugin rec {
|
|
|
|
|
|
|
|
plugin = "genesis";
|
|
|
|
namespace = "plugin.video.genesis";
|
2015-10-26 15:59:23 +00:00
|
|
|
version = "5.1.3";
|
2015-01-19 21:14:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lambda81";
|
|
|
|
repo = "lambda-addons";
|
2015-10-26 15:59:23 +00:00
|
|
|
rev = "f2cd04f33af88d60e1330573bbf2ef9cee7f0a56";
|
|
|
|
sha256 = "0z0ldckqqif9v5nhnjr5n2495cm3z9grjmrh7czl4xlnq4bvviqq";
|
2015-01-19 21:14:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://forums.tvaddons.ag/forums/148-lambda-s-kodi-addons";
|
|
|
|
description = "The origins of streaming";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
svtplay = mkKodiPlugin rec {
|
|
|
|
|
|
|
|
plugin = "svtplay";
|
|
|
|
namespace = "plugin.video.svtplay";
|
2015-11-22 09:09:40 +00:00
|
|
|
version = "4.0.18";
|
2015-01-19 21:14:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nilzen";
|
|
|
|
repo = "xbmc-" + plugin;
|
2015-11-22 09:09:40 +00:00
|
|
|
rev = "b60cc1164d0077451be935d0d1a26f2d29b0f589";
|
|
|
|
sha256 = "1bx2c3z8rbkk75hykpmls956hfkwvsm4d8gvlrh63s8zimlwgv7k";
|
2015-01-19 21:14:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-03-11 18:52:35 +00:00
|
|
|
homepage = "http://forum.kodi.tv/showthread.php?tid=67110";
|
2015-01-19 21:14:36 +00:00
|
|
|
description = "Watch content from SVT Play";
|
|
|
|
longDescription = ''
|
|
|
|
With this addon you can stream content from SVT Play
|
|
|
|
(svtplay.se). The plugin fetches the video URL from the SVT
|
|
|
|
Play website and feeds it to the Kodi video player. HLS (m3u8)
|
|
|
|
is the preferred video format by the plugin.
|
|
|
|
'';
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2015-10-26 15:57:24 +00:00
|
|
|
}
|