Tidal-dl-ng Shell
nix-shell tidal.nix (or whatever you call this file)
{ pkgs ? import <nixpkgs> {} }:
let
pythonEnv = pkgs.python3.withPackages (ps: with ps; [
pip
]);
in
pkgs.mkShell {
name = "tidal-dl-ng-shell";
buildInputs = [
pythonEnv
pkgs.ffmpeg
];
shellHook = ''
python -m venv .venv
source .venv/bin/activate
echo "🎵 Tidal-dl-ng environment ready."
pip install python-ffmpeg
pip install tidal-dl-ng
echo "Ready to rock. Available command: tidal-dl-ng"
'';
}
No Comments