diff options
| author | Simon Parri <simonparri@ganzeria.com> | 2025-10-06 21:05:14 -0500 |
|---|---|---|
| committer | Simon Parri <simonparri@ganzeria.com> | 2025-10-06 21:16:04 -0500 |
| commit | aeb40ea33976b40ce819a97bef90ab7e992b4269 (patch) | |
| tree | 13c8e56e4830017b058e600e8af2f217fbb7b2b7 | |
| parent | e80d39d1467bdb8ba615e56a66cc79c15d33f693 (diff) | |
| download | nixos-config-aeb40ea33976b40ce819a97bef90ab7e992b4269.tar.gz nixos-config-aeb40ea33976b40ce819a97bef90ab7e992b4269.zip | |
pkgs: Add yt-dlp fork with Deno integration
| -rw-r--r-- | pkgs/all-packages.nix | 1 | ||||
| -rw-r--r-- | pkgs/yt-dlp.nix | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/all-packages.nix b/pkgs/all-packages.nix index bedba19..c35275f 100644 --- a/pkgs/all-packages.nix +++ b/pkgs/all-packages.nix @@ -6,4 +6,5 @@ iosevka-martial = pkgs.callPackage ./iosevka.nix {}; iosevka-martial-aile = pkgs.callPackage ./iosevka.nix { plan = "Aile"; }; iosevka-martial-etoile = pkgs.callPackage ./iosevka.nix { plan = "Etoile"; }; + yt-dlp-deno = pkgs.callPackage ./yt-dlp.nix {}; } diff --git a/pkgs/yt-dlp.nix b/pkgs/yt-dlp.nix new file mode 100644 index 0000000..a272d4b --- /dev/null +++ b/pkgs/yt-dlp.nix @@ -0,0 +1,18 @@ +{ + lib, + fetchFromGitHub, + deno, + yt-dlp +}: + +yt-dlp.overrideAttrs (final: prev: { + version = "9e975d1a"; + src = fetchFromGitHub { + owner = "Grub4K"; + repo = "yt-dlp"; + rev = "9e975d1a889e85c1c746c657dae3d8e555f4bd31"; + hash = "sha256-SBIvJ0wmdMwxMZ0A+B/Kg0uBvLlj7zA4oSAWcX2OZog="; + }; + makeWrapperArgs = prev.makeWrapperArgs ++ + ["--prefix PATH : ${lib.makeBinPath [deno]}"]; +}) |
