diff options
author | Aaron Andersen <aaron@fosslib.net> | 2022-01-03 08:40:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 08:40:48 -0500 |
commit | 77816a8ff01d66beab727911dedd2f239d760b38 (patch) | |
tree | ff4cc428250555fb65fe6d2359a724ac203db8b8 /pkgs/applications/video/kodi | |
parent | 4fa7de0075ded3ea5ca64d54a05636c3ada9574f (diff) | |
parent | da82d35dcb0b5720d581fd0ff23450c83ebd2701 (diff) |
Merge pull request #153245 from aanderse/kodi.packages
kodi.packages.orftvthek: init at 0.12.3-1
Diffstat (limited to 'pkgs/applications/video/kodi')
3 files changed, 80 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/future/default.nix b/pkgs/applications/video/kodi/addons/future/default.nix new file mode 100644 index 0000000000000..fcc525ef17972 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/future/default.nix @@ -0,0 +1,26 @@ +{ lib, buildKodiAddon, fetchzip, addonUpdateScript }: + +buildKodiAddon rec { + pname = "future"; + namespace = "script.module.future"; + version = "0.18.2+matrix.1"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; + sha256 = "sha256-QBG7V70Dwmfq8ISILxGNvtmQT9fJp2e5gs2C9skRwIw="; + }; + + passthru = { + pythonPath = "lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.future"; + }; + }; + + meta = with lib; { + homepage = "http://python-future.org"; + description = "The missing compatibility layer between Python 2 and Python 3"; + license = licenses.mit; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/applications/video/kodi/addons/orftvthek/default.nix b/pkgs/applications/video/kodi/addons/orftvthek/default.nix new file mode 100644 index 0000000000000..56f25ddc9d126 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/orftvthek/default.nix @@ -0,0 +1,28 @@ +{ lib, buildKodiAddon, fetchFromGitHub, future, kodi-six, simplejson, inputstreamhelper }: + +buildKodiAddon rec { + pname = "orftvthek"; + namespace = "plugin.video.orftvthek"; + version = "0.12.3-1"; + + src = fetchFromGitHub { + owner = "s0faking"; + repo = namespace; + rev = version; + sha256 = "sha256-+J1NtmjbDWtS8d4nO9P/lR5GNmvtc1YjTW+bulGaU2Q="; + }; + + propagatedBuildInputs = [ + future + kodi-six + simplejson + inputstreamhelper + ]; + + meta = with lib; { + homepage = "https://github.com/s0faking/plugin.video.orftvthek"; + description = "An addon that gives you access to the ORF TVthek Video Platform"; + license = licenses.gpl2Only; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/applications/video/kodi/addons/simplejson/default.nix b/pkgs/applications/video/kodi/addons/simplejson/default.nix new file mode 100644 index 0000000000000..e9293d6258dfb --- /dev/null +++ b/pkgs/applications/video/kodi/addons/simplejson/default.nix @@ -0,0 +1,26 @@ +{ lib, buildKodiAddon, fetchzip, addonUpdateScript }: + +buildKodiAddon rec { + pname = "simplejson"; + namespace = "script.module.simplejson"; + version = "3.17.0+matrix.2"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; + sha256 = "sha256-XLE4x0qr3CFwWqh1BfSg9q+w6pWgFBXG7TyVJWeGQIs="; + }; + + passthru = { + pythonPath = "lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.simplejson"; + }; + }; + + meta = with lib; { + homepage = "https://github.com/simplejson/simplejson"; + description = "Simple, fast, extensible JSON encoder/decoder for Python"; + license = licenses.mit; + maintainers = teams.kodi.members; + }; +} |