migrated tasks and downloads to this flake

This commit is contained in:
2024-12-14 14:08:50 -06:00
parent b33b69a698
commit c12e26ae7d
18 changed files with 953 additions and 25 deletions

19
src/download/shell.nix Normal file
View File

@@ -0,0 +1,19 @@
{
pkgs ? import <nixpkgs> { },
}:
let
pythonPackages = builtins.attrValues {
inherit (pkgs.python3Packages) setuptools pyyaml types-pyyaml;
};
otherPackages = builtins.attrValues {
inherit (pkgs) yt-dlp gallery-dl ffmpeg;
};
in
pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (_ps: pythonPackages))
] ++ otherPackages;
buildInputs = [ ];
}