summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2025-08-08 05:01:00 +0300
committersss <sss@dark-alexandr.net>2025-08-13 04:47:28 +0300
commit0bcb1c60092ddb84b3e2d4fca47825aba60a04ad (patch)
tree97bd960d26d55c4afb5dbd38666fabb72aa751a5
parentcdc60b568d880121113d332c5be1083c643e410d (diff)
yt-dlp: added bgutil-ytdlp-pot-provider plugin
-rw-r--r--mlt_my.nix2
-rw-r--r--yt-dlp.nix28
2 files changed, 30 insertions, 0 deletions
diff --git a/mlt_my.nix b/mlt_my.nix
index cd7d660..177b81d 100644
--- a/mlt_my.nix
+++ b/mlt_my.nix
@@ -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 ];
});
}
diff --git a/yt-dlp.nix b/yt-dlp.nix
index 7c047a3..9ea7b91 100644
--- a/yt-dlp.nix
+++ b/yt-dlp.nix
@@ -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