mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
yt-dlp-master
This commit is contained in:
9
packages/yt-dlp-master.nix
Normal file
9
packages/yt-dlp-master.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ nix, writeShellScriptBin }:
|
||||
writeShellScriptBin "yt-dlp-master" ''
|
||||
args=$@
|
||||
${nix}/bin/nix-shell -p '(yt-dlp.overrideAttrs (_: {
|
||||
src = builtins.fetchTree "github:yt-dlp/yt-dlp";
|
||||
patches = [];
|
||||
postPatch = "python devscripts/update-version.py 0.99";
|
||||
}))' -p deno --run "yt-dlp $args"
|
||||
''
|
||||
Reference in New Issue
Block a user