git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #153245 from aanderse/kodi.packages

kodi.packages.orftvthek: init at 0.12.3-1

commit77816a8ff01d66beab727911dedd2f239d760b38 authorAaron Andersen <aaron@fosslib.net> dateMon 3 Jan 2022, 08:40 (5 years ago) parent4fa7de0da82d35
4 files changed+86
pkgs/applications/video/kodi/addons/future/default.nix+26 pkgs/applications/video/kodi/addons/orftvthek/default.nix+28 pkgs/applications/video/kodi/addons/simplejson/default.nix+26 pkgs/top-level/kodi-packages.nix+6
pkgs/applications/video/kodi/addons/future/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
2+
3+buildKodiAddon rec {
4+ pname = "future";
5+ namespace = "script.module.future";
6+ version = "0.18.2+matrix.1";
7+
8+ src = fetchzip {
9+ url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
10+ sha256 = "sha256-QBG7V70Dwmfq8ISILxGNvtmQT9fJp2e5gs2C9skRwIw=";
11+ };
12+
13+ passthru = {
14+ pythonPath = "lib";
15+ updateScript = addonUpdateScript {
16+ attrPath = "kodi.packages.future";
17+ };
18+ };
19+
20+ meta = with lib; {
21+ homepage = "http://python-future.org";
22+ description = "The missing compatibility layer between Python 2 and Python 3";
23+ license = licenses.mit;
24+ maintainers = teams.kodi.members;
25+ };
26+}
pkgs/applications/video/kodi/addons/orftvthek/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, buildKodiAddon, fetchFromGitHub, future, kodi-six, simplejson, inputstreamhelper }:
2+
3+buildKodiAddon rec {
4+ pname = "orftvthek";
5+ namespace = "plugin.video.orftvthek";
6+ version = "0.12.3-1";
7+
8+ src = fetchFromGitHub {
9+ owner = "s0faking";
10+ repo = namespace;
11+ rev = version;
12+ sha256 = "sha256-+J1NtmjbDWtS8d4nO9P/lR5GNmvtc1YjTW+bulGaU2Q=";
13+ };
14+
15+ propagatedBuildInputs = [
16+ future
17+ kodi-six
18+ simplejson
19+ inputstreamhelper
20+ ];
21+
22+ meta = with lib; {
23+ homepage = "https://github.com/s0faking/plugin.video.orftvthek";
24+ description = "An addon that gives you access to the ORF TVthek Video Platform";
25+ license = licenses.gpl2Only;
26+ maintainers = teams.kodi.members;
27+ };
28+}
pkgs/applications/video/kodi/addons/simplejson/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
2+
3+buildKodiAddon rec {
4+ pname = "simplejson";
5+ namespace = "script.module.simplejson";
6+ version = "3.17.0+matrix.2";
7+
8+ src = fetchzip {
9+ url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
10+ sha256 = "sha256-XLE4x0qr3CFwWqh1BfSg9q+w6pWgFBXG7TyVJWeGQIs=";
11+ };
12+
13+ passthru = {
14+ pythonPath = "lib";
15+ updateScript = addonUpdateScript {
16+ attrPath = "kodi.packages.simplejson";
17+ };
18+ };
19+
20+ meta = with lib; {
21+ homepage = "https://github.com/simplejson/simplejson";
22+ description = "Simple, fast, extensible JSON encoder/decoder for Python";
23+ license = licenses.mit;
24+ maintainers = teams.kodi.members;
25+ };
26+}
pkgs/top-level/kodi-packages.nix+6
@@ -90,6 +90,8 @@ let self = rec {
9090
9191 netflix = callPackage ../applications/video/kodi/addons/netflix { };
9292
93+ orftvthek = callPackage ../applications/video/kodi/addons/orftvthek { };
94+
9395 svtplay = callPackage ../applications/video/kodi/addons/svtplay { };
9496
9597 steam-controller = callPackage ../applications/video/kodi/addons/steam-controller { };
@@ -126,6 +128,8 @@ let self = rec {
126128
127129 defusedxml = callPackage ../applications/video/kodi/addons/defusedxml { };
128130
131+ future = callPackage ../applications/video/kodi/addons/future { };
132+
129133 idna = callPackage ../applications/video/kodi/addons/idna { };
130134
131135 inputstream-adaptive = callPackage ../applications/video/kodi/addons/inputstream-adaptive { };
@@ -148,6 +152,8 @@ let self = rec {
148152
149153 signals = callPackage ../applications/video/kodi/addons/signals { };
150154
155+ simplejson = callPackage ../applications/video/kodi/addons/simplejson { };
156+
151157 six = callPackage ../applications/video/kodi/addons/six { };
152158
153159 urllib3 = callPackage ../applications/video/kodi/addons/urllib3 { };