diff options
author | sss <sss@dark-alexandr.net> | 2025-08-08 05:01:00 +0300 |
---|---|---|
committer | sss <sss@dark-alexandr.net> | 2025-08-13 04:47:28 +0300 |
commit | 0bcb1c60092ddb84b3e2d4fca47825aba60a04ad (patch) | |
tree | 97bd960d26d55c4afb5dbd38666fabb72aa751a5 | |
parent | cdc60b568d880121113d332c5be1083c643e410d (diff) |
yt-dlp: added bgutil-ytdlp-pot-provider plugin
-rw-r--r-- | mlt_my.nix | 2 | ||||
-rw-r--r-- | yt-dlp.nix | 28 |
2 files changed, 30 insertions, 0 deletions
@@ -16,5 +16,7 @@ self: super: { url = "https://github.com/mltframework/mlt"; ref = "master"; }; + buildInputs = with qt6Packages; old.buildInputs ++ [ gdk-pixbuf libebur128 qtbase qtsvg ]; + nativeBuildInputs = with qt6Packages; old.nativeBuildInputs ++ [ wrapQtAppsNoGuiHook ]; }); } @@ -24,6 +24,34 @@ self: super: { websockets requests urllib3 + (shiton3.pkgs.buildPythonPackage { + pname = "bgutil-ytdlp-pot-provider-plugin"; + version = "git"; + pyproject = true; + src = fetchGit { + url = "https://github.com/Brainicism/bgutil-ytdlp-pot-provider"; + ref = "master"; + }; + preBuild = '' + cd plugin + ''; + nativeBuildInputs = [ hatchling ]; + propagatedBuildInputs = [ + brotli + certifi + mutagen + pycryptodomex + websockets + requests + urllib3 + ]; + + meta = with lib; { + homepage = "https://github.com/Brainicism/bgutil-ytdlp-pot-provider"; + description = "A proof-of-origin token (POT) provider yt-dlp"; + license = licenses.gpl3; + }; + }) ]; makeWrapperArgs = let |