kodiPackages.inputstreamhelper: fix compatibility with Python 3.12

The inputstreamhelper Kodi script depends on the "distutils" package,
which has been removed with Python 3.12. This has since been fixed
upstream, but wasn't yet released. Backport the patch.
This commit is contained in:
Patrick Steinhardt 2024-07-15 23:07:49 +02:00
parent a0c86551ee
commit cef5e7801a

View File

@ -1,4 +1,4 @@
{ lib, rel, buildKodiAddon, fetchzip, addonUpdateScript }:
{ lib, rel, buildKodiAddon, fetchzip, fetchpatch, addonUpdateScript }:
buildKodiAddon rec {
pname = "inputstreamhelper";
namespace = "script.module.inputstreamhelper";
@ -9,6 +9,13 @@ buildKodiAddon rec {
sha256 = "sha256-v5fRikswmP+KVbxYibD0NbCK8leUnFbya5EtF1FmS0I=";
};
patches = [
(fetchpatch {
url = "https://github.com/emilsvennesson/script.module.inputstreamhelper/commit/af6adc16a0bee4921a827946b004ee070406ae37.patch";
hash = "sha256-901EyVeZUb0EMvxsEza95qFjTOZ7PDYyqHMRawPM5Zs=";
})
];
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {