mlt: requires python3
This commit is contained in:
parent
dc04d776a3
commit
afa9c4ae68
|
@ -3,7 +3,7 @@
|
||||||
, libvorbis, libxml2, movit, pkg-config, sox, fftw, opencv4, SDL2
|
, libvorbis, libxml2, movit, pkg-config, sox, fftw, opencv4, SDL2
|
||||||
, gtk2, genericUpdater, common-updater-scripts, libebur128
|
, gtk2, genericUpdater, common-updater-scripts, libebur128
|
||||||
, jack2, ladspa-sdk, swig, which, ncurses
|
, jack2, ladspa-sdk, swig, which, ncurses
|
||||||
, enablePython ? false, python
|
, enablePython ? false, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -24,7 +24,9 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optional enablePython ncurses;
|
] ++ lib.optional enablePython ncurses;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config makeWrapper which ]
|
nativeBuildInputs = [ pkg-config makeWrapper which ]
|
||||||
++ lib.optionals enablePython [ python swig ];
|
++ lib.optionals enablePython [ python3 swig ];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
# Mostly taken from:
|
# Mostly taken from:
|
||||||
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
||||||
|
|
|
@ -4512,7 +4512,7 @@ in {
|
||||||
mlxtend = callPackage ../development/python-modules/mlxtend { };
|
mlxtend = callPackage ../development/python-modules/mlxtend { };
|
||||||
|
|
||||||
mlt = toPythonModule (pkgs.mlt.override {
|
mlt = toPythonModule (pkgs.mlt.override {
|
||||||
inherit python;
|
python3 = python;
|
||||||
enablePython = true;
|
enablePython = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -281,6 +281,8 @@ with self; with super; {
|
||||||
|
|
||||||
metaphone = callPackage ../development/python-modules/metaphone { };
|
metaphone = callPackage ../development/python-modules/metaphone { };
|
||||||
|
|
||||||
|
mlt = disabled super.mlt;
|
||||||
|
|
||||||
mock = callPackage ../development/python-modules/mock/2.nix { };
|
mock = callPackage ../development/python-modules/mock/2.nix { };
|
||||||
|
|
||||||
# Needed here because moinmoin is loaded as a Python library.
|
# Needed here because moinmoin is loaded as a Python library.
|
||||||
|
|
Loading…
Reference in a new issue