best practices: get rid of with pkgs;

This commit is contained in:
2024-11-09 15:33:03 -06:00
parent ebcab67a6a
commit 120d485f28
33 changed files with 418 additions and 317 deletions

View File

@@ -9,11 +9,13 @@ python3Packages.buildPythonApplication {
version = "2.5";
src = ../../scripts/download/.;
build-system = [ python3Packages.setuptools ];
dependencies = with python3Packages; [
pyyaml
types-pyyaml
yt-dlp
];
dependencies = builtins.attrValues {
inherit (python3Packages)
pyyaml
types-pyyaml
yt-dlp
;
};
propagatedBuildInputs = [
gallery-dl
ffmpeg