diff options
Diffstat (limited to '')
-rwxr-xr-x | pkgs/by-name/yt/yt/.env (renamed from pkgs/sources/yt/.env) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/.envrc (renamed from pkgs/sources/yt/.envrc) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/.gitignore (renamed from pkgs/sources/yt/.gitignore) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/Cargo.lock (renamed from pkgs/sources/yt/Cargo.lock) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/Cargo.toml (renamed from pkgs/sources/yt/Cargo.toml) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/flake.lock (renamed from pkgs/sources/yt/flake.lock) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/flake.nix (renamed from pkgs/sources/yt/flake.nix) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/package.nix | 44 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/bin/yt/main.rs (renamed from pkgs/sources/yt/src/bin/yt/main.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/bin/ytc/args.rs (renamed from pkgs/sources/yt/src/bin/ytc/args.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/bin/ytc/main.rs (renamed from pkgs/sources/yt/src/bin/ytc/main.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/bin/yts/args.rs (renamed from pkgs/sources/yt/src/bin/yts/args.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/bin/yts/main.rs (renamed from pkgs/sources/yt/src/bin/yts/main.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/constants.rs (renamed from pkgs/sources/yt/src/constants.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/downloader.rs (renamed from pkgs/sources/yt/src/downloader.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/help.str (renamed from pkgs/sources/yt/src/help.str) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/src/lib.rs (renamed from pkgs/sources/yt/src/lib.rs) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/todo (renamed from pkgs/sources/yt/todo) | 0 | ||||
-rwxr-xr-x | pkgs/by-name/yt/yt/update.sh (renamed from pkgs/sources/yt/update.sh) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/yt.nix (renamed from pkgs/sources/yt/yt.nix) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/ytc.nix (renamed from pkgs/sources/yt/ytc.nix) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yt/yts.nix (renamed from pkgs/sources/yt/yts.nix) | 0 | ||||
-rw-r--r-- | pkgs/by-name/yt/yti/package.nix | 17 | ||||
-rwxr-xr-x | pkgs/by-name/yt/yti/yti.sh (renamed from pkgs/sources/scripts/source/wrappers/yti.sh) | 0 |
24 files changed, 61 insertions, 0 deletions
diff --git a/pkgs/sources/yt/.env b/pkgs/by-name/yt/yt/.env index 8018a738..8018a738 100755 --- a/pkgs/sources/yt/.env +++ b/pkgs/by-name/yt/yt/.env diff --git a/pkgs/sources/yt/.envrc b/pkgs/by-name/yt/yt/.envrc index 3550a30f..3550a30f 100644 --- a/pkgs/sources/yt/.envrc +++ b/pkgs/by-name/yt/yt/.envrc diff --git a/pkgs/sources/yt/.gitignore b/pkgs/by-name/yt/yt/.gitignore index c84fa049..c84fa049 100644 --- a/pkgs/sources/yt/.gitignore +++ b/pkgs/by-name/yt/yt/.gitignore diff --git a/pkgs/sources/yt/Cargo.lock b/pkgs/by-name/yt/yt/Cargo.lock index ef2a53fd..ef2a53fd 100644 --- a/pkgs/sources/yt/Cargo.lock +++ b/pkgs/by-name/yt/yt/Cargo.lock diff --git a/pkgs/sources/yt/Cargo.toml b/pkgs/by-name/yt/yt/Cargo.toml index 7c17d20b..7c17d20b 100644 --- a/pkgs/sources/yt/Cargo.toml +++ b/pkgs/by-name/yt/yt/Cargo.toml diff --git a/pkgs/sources/yt/flake.lock b/pkgs/by-name/yt/yt/flake.lock index 50494465..50494465 100644 --- a/pkgs/sources/yt/flake.lock +++ b/pkgs/by-name/yt/yt/flake.lock diff --git a/pkgs/sources/yt/flake.nix b/pkgs/by-name/yt/yt/flake.nix index 561b1c0d..561b1c0d 100644 --- a/pkgs/sources/yt/flake.nix +++ b/pkgs/by-name/yt/yt/flake.nix diff --git a/pkgs/by-name/yt/yt/package.nix b/pkgs/by-name/yt/yt/package.nix new file mode 100644 index 00000000..84eda119 --- /dev/null +++ b/pkgs/by-name/yt/yt/package.nix @@ -0,0 +1,44 @@ +{ + lib, + makeWrapper, + rustPlatform, + # dependencies + ytcc, + yt-dlp, + mpv, +}: { + yt = import ./yt.nix { + inherit + lib + makeWrapper + rustPlatform + # dependencies + + ytcc + yt-dlp + mpv + ; + }; + yts = import ./yts.nix { + inherit + lib + makeWrapper + rustPlatform + # dependencies + + ytcc + ; + }; + ytc = import ./ytc.nix { + inherit + lib + makeWrapper + rustPlatform + # dependencies + + ytcc + yt-dlp + mpv + ; + }; +} diff --git a/pkgs/sources/yt/src/bin/yt/main.rs b/pkgs/by-name/yt/yt/src/bin/yt/main.rs index 37348834..37348834 100644 --- a/pkgs/sources/yt/src/bin/yt/main.rs +++ b/pkgs/by-name/yt/yt/src/bin/yt/main.rs diff --git a/pkgs/sources/yt/src/bin/ytc/args.rs b/pkgs/by-name/yt/yt/src/bin/ytc/args.rs index 8b2d6a61..8b2d6a61 100644 --- a/pkgs/sources/yt/src/bin/ytc/args.rs +++ b/pkgs/by-name/yt/yt/src/bin/ytc/args.rs diff --git a/pkgs/sources/yt/src/bin/ytc/main.rs b/pkgs/by-name/yt/yt/src/bin/ytc/main.rs index b38157df..b38157df 100644 --- a/pkgs/sources/yt/src/bin/ytc/main.rs +++ b/pkgs/by-name/yt/yt/src/bin/ytc/main.rs diff --git a/pkgs/sources/yt/src/bin/yts/args.rs b/pkgs/by-name/yt/yt/src/bin/yts/args.rs index 56989421..56989421 100644 --- a/pkgs/sources/yt/src/bin/yts/args.rs +++ b/pkgs/by-name/yt/yt/src/bin/yts/args.rs diff --git a/pkgs/sources/yt/src/bin/yts/main.rs b/pkgs/by-name/yt/yt/src/bin/yts/main.rs index 7398db61..7398db61 100644 --- a/pkgs/sources/yt/src/bin/yts/main.rs +++ b/pkgs/by-name/yt/yt/src/bin/yts/main.rs diff --git a/pkgs/sources/yt/src/constants.rs b/pkgs/by-name/yt/yt/src/constants.rs index 5e233656..5e233656 100644 --- a/pkgs/sources/yt/src/constants.rs +++ b/pkgs/by-name/yt/yt/src/constants.rs diff --git a/pkgs/sources/yt/src/downloader.rs b/pkgs/by-name/yt/yt/src/downloader.rs index e915700d..e915700d 100644 --- a/pkgs/sources/yt/src/downloader.rs +++ b/pkgs/by-name/yt/yt/src/downloader.rs diff --git a/pkgs/sources/yt/src/help.str b/pkgs/by-name/yt/yt/src/help.str index 130fe42a..130fe42a 100644 --- a/pkgs/sources/yt/src/help.str +++ b/pkgs/by-name/yt/yt/src/help.str diff --git a/pkgs/sources/yt/src/lib.rs b/pkgs/by-name/yt/yt/src/lib.rs index b089c1a2..b089c1a2 100644 --- a/pkgs/sources/yt/src/lib.rs +++ b/pkgs/by-name/yt/yt/src/lib.rs diff --git a/pkgs/sources/yt/todo b/pkgs/by-name/yt/yt/todo index 3f22042c..3f22042c 100644 --- a/pkgs/sources/yt/todo +++ b/pkgs/by-name/yt/yt/todo diff --git a/pkgs/sources/yt/update.sh b/pkgs/by-name/yt/yt/update.sh index e500bb23..e500bb23 100755 --- a/pkgs/sources/yt/update.sh +++ b/pkgs/by-name/yt/yt/update.sh diff --git a/pkgs/sources/yt/yt.nix b/pkgs/by-name/yt/yt/yt.nix index aaa971c3..aaa971c3 100644 --- a/pkgs/sources/yt/yt.nix +++ b/pkgs/by-name/yt/yt/yt.nix diff --git a/pkgs/sources/yt/ytc.nix b/pkgs/by-name/yt/yt/ytc.nix index dff5bcf8..dff5bcf8 100644 --- a/pkgs/sources/yt/ytc.nix +++ b/pkgs/by-name/yt/yt/ytc.nix diff --git a/pkgs/sources/yt/yts.nix b/pkgs/by-name/yt/yt/yts.nix index 9a8b172e..9a8b172e 100644 --- a/pkgs/sources/yt/yts.nix +++ b/pkgs/by-name/yt/yt/yts.nix diff --git a/pkgs/by-name/yt/yti/package.nix b/pkgs/by-name/yt/yti/package.nix new file mode 100644 index 00000000..5a39512a --- /dev/null +++ b/pkgs/by-name/yt/yti/package.nix @@ -0,0 +1,17 @@ +{ + sysLib, + gawk, + expect, + yt-dlp, +}: +sysLib.writeShellScript { + name = "yti"; + src = ./yti.sh; + generateCompletions = false; + keepPath = false; + dependencies = [ + gawk + expect + yt-dlp + ]; +} diff --git a/pkgs/sources/scripts/source/wrappers/yti.sh b/pkgs/by-name/yt/yti/yti.sh index a69ffa74..a69ffa74 100755 --- a/pkgs/sources/scripts/source/wrappers/yti.sh +++ b/pkgs/by-name/yt/yti/yti.sh |