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