mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-26 12:51:15 -08:00
I also upgraded the flake.nix file. - `mkShell` now use `packages` instead of `buildInputs` (See https://discourse.nixos.org/t/difference-between-buildinputs-and-packages-in-mkshell/60598/2) - Now using `venvShellHook` to create the Python virtual environment - Remove useless variables - Added `meta` attrset - Now using `python3Packages` variables instead - Explicitly use the `build-system` field - Now using `substituteInPlace` within `postPatch` - Using the `pyproject` field instead of `format` - Removed bad pratices, etc..
20 lines
386 B
Nix
20 lines
386 B
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
in
|
|
pkgs.mkShell {
|
|
packages = [
|
|
(pkgs.python3.withPackages (python-pkgs: [
|
|
python-pkgs.yt-dlp
|
|
python-pkgs.dbus-python
|
|
python-pkgs.requests
|
|
python-pkgs.rich
|
|
python-pkgs.click
|
|
python-pkgs.inquirerpy
|
|
python-pkgs.mpv
|
|
python-pkgs.fastapi
|
|
python-pkgs.thefuzz
|
|
python-pkgs.plyer
|
|
]))
|
|
];
|
|
}
|