-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
25 lines (23 loc) · 702 Bytes
/
shell.nix
File metadata and controls
25 lines (23 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
rustc
cargo
poppler_utils
yt-dlp
ffmpeg
jq
];
shellHook = ''
echo "Development environment loaded with:"
echo " - Rust and poppler-utils for PDF extraction"
echo " - yt-dlp, ffmpeg, and jq for YouTube downloads"
echo ""
echo "Available commands:"
echo " just setup - Build the Rust binary"
echo " just extract - Extract PDFs with parallel processing"
echo " just download-youtube - Download YouTube videos and extract MP3s"
echo " just count - Count PDF files"
echo " just count-pngs - Count extracted PNG files"
'';
}