mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 18:54:42 +00:00
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:
parent
a0c86551ee
commit
cef5e7801a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user