36 lines
747 B
Nix
36 lines
747 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
yt-dlp,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bgutil-ytdlp-pot-provider";
|
|
version = "1.2.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Brainicism";
|
|
repo = "bgutil-ytdlp-pot-provider";
|
|
tag = version;
|
|
hash = "sha256-KKImGxFGjClM2wAk/L8nwauOkM/gEwRVMZhTP62ETqY=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/plugin";
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [ yt-dlp ];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = {
|
|
description = "Proof-of-origin token provider plugin for yt-dlp";
|
|
homepage = "https://github.com/Brainicism/bgutil-ytdlp-pot-provider";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ hexa ];
|
|
};
|
|
}
|