feat(host/cerithium-telescopium): update youtube + netflix, drop rtlplus
This commit is contained in:
parent
d008138896
commit
121e07c127
14
hashes.nix
14
hashes.nix
|
@ -14,17 +14,9 @@
|
||||||
hash = "sha256-nCOH+48w7nEm7mXXPCsDuaRlId2hNyYdV01IbVNWuME=";
|
hash = "sha256-nCOH+48w7nEm7mXXPCsDuaRlId2hNyYdV01IbVNWuME=";
|
||||||
};
|
};
|
||||||
pexel-bg.hash = "sha256-Su2UwFpZKj5sa80UrcDSX9O2GuVI6XR2gSLpp4gJZP0=";
|
pexel-bg.hash = "sha256-Su2UwFpZKj5sa80UrcDSX9O2GuVI6XR2gSLpp4gJZP0=";
|
||||||
REpo-AiO = {
|
youtubePlugin = {
|
||||||
rev = "c88a6de";
|
hash = "sha256-gJ7RGB0pSG/iLdpmXHpQOoQTisXnMl1Mgd0KYFgg2qI=";
|
||||||
hash = "sha256-3FeMPAMXvVwbQXmjz6HYo5QAbrI4x3mkVNTLIco56K4=";
|
version = "7.0.3.2";
|
||||||
};
|
|
||||||
rtlGroupPlugin = {
|
|
||||||
hash = "sha256-tknTHae9dRQ1oO8rtgqSzxC7DzbVHa2VhbddWBqNVOI=";
|
|
||||||
version = "1.1.6";
|
|
||||||
};
|
|
||||||
netflixPlugin = {
|
|
||||||
version = "1.22.3";
|
|
||||||
hash = "sha256-8NGj8n1p8euqYYdPDSeFh2ZE9lly5ThSmg69yXY3Te8=";
|
|
||||||
};
|
};
|
||||||
darkman = {
|
darkman = {
|
||||||
version = "1.5.4-with-bash-fix";
|
version = "1.5.4-with-bash-fix";
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../hardware/intel-nuc.nix
|
../../hardware/intel-nuc.nix
|
||||||
];
|
];
|
||||||
|
@ -22,43 +26,22 @@
|
||||||
/run/current-system/sw/bin/xset s off
|
/run/current-system/sw/bin/xset s off
|
||||||
'';
|
'';
|
||||||
services.xserver.desktopManager.kodi.package = let
|
services.xserver.desktopManager.kodi.package = let
|
||||||
REpo-AiO = pkgs.fetchFromGitHub {
|
youtubePlugin = pkgs.kodiPackages.youtube.overrideAttrs (old: rec {
|
||||||
owner = "Collabsvito";
|
version = lib.throwIf (lib.versionOlder hashes.youtubePlugin.version old.version) "Youtube Plugin override outdated" hashes.youtubePlugin.version;
|
||||||
repo = "REpo-AiO";
|
|
||||||
inherit (hashes.REpo-AiO) rev hash;
|
|
||||||
};
|
|
||||||
|
|
||||||
rtlGroupPlugin = pkgs.kodiPackages.buildKodiAddon rec {
|
|
||||||
pname = "rtl+";
|
|
||||||
namespace = "plugin.video.rtlgroup.de";
|
|
||||||
version = hashes.rtlGroupPlugin.version;
|
|
||||||
|
|
||||||
src = pkgs.fetchzip {
|
|
||||||
url = "file://${REpo-AiO}/MATRIX/${namespace}/${namespace}-${version}+matrix.1.zip";
|
|
||||||
hash = hashes.rtlGroupPlugin.hash;
|
|
||||||
};
|
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
sed 's/Cryptodome/Crypto/g' -i resources/lib/common.py
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
netflixPlugin = pkgs.kodiPackages.netflix.overrideAttrs rec {
|
|
||||||
inherit (hashes.netflixPlugin) version;
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "CastagnaIT";
|
inherit (hashes.youtubePlugin) hash;
|
||||||
repo = "plugin.video.netflix";
|
owner = "anxdpanic";
|
||||||
|
repo = "plugin.video.youtube";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
inherit (hashes.netflixPlugin) hash;
|
|
||||||
};
|
};
|
||||||
};
|
});
|
||||||
in
|
in
|
||||||
pkgs.kodi.passthru.withPackages (kodiPkgs:
|
pkgs.kodi.passthru.withPackages (kodiPkgs:
|
||||||
with kodiPkgs; [
|
with kodiPkgs; [
|
||||||
youtube
|
youtubePlugin
|
||||||
inputstream-adaptive
|
inputstream-adaptive
|
||||||
rtlGroupPlugin
|
netflix
|
||||||
netflixPlugin
|
|
||||||
joystick
|
joystick
|
||||||
# Amazon VOD
|
# Amazon VOD
|
||||||
# Arte Mediathek
|
# Arte Mediathek
|
||||||
|
|
Loading…
Reference in a new issue