Merge pull request #295818 from getchoo/pkgs/celluloid/yt-dlp

celluloid: add youtubeSupport
This commit is contained in:
Peder Bergebakken Sundt
2024-06-05 03:55:34 +02:00
committed by GitHub
+8
View File
@@ -15,6 +15,8 @@
, pkg-config
, python3
, wrapGAppsHook4
, yt-dlp
, youtubeSupport ? true
}:
stdenv.mkDerivation (finalAttrs: {
@@ -51,6 +53,12 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs meson-post-install.py src/generate-authors.py
'';
preFixup = lib.optionalString youtubeSupport ''
gappsWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ yt-dlp ]}"
)
'';
strictDeps = true;
doCheck = true;