Merge pull request #61115 from ivan/youtube-dl-lazy-extractors

youtube-dl: build the lazy_extractors module to improve startup time
This commit is contained in:
worldofpeace 2019-05-08 15:15:04 -04:00 committed by GitHub
commit a80ee5b697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,10 @@ buildPythonPackage rec {
++ lib.optional phantomjsSupport phantomjs2;
in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
setupPyBuildFlags = [
"build_lazy_extractors"
];
postInstall = ''
mkdir -p $out/share/zsh/site-functions
cp youtube-dl.zsh $out/share/zsh/site-functions/_youtube-dl