update deps (back to discord.py + rich)

This commit is contained in:
2022-10-28 14:14:17 +02:00
parent 602457da10
commit df4aacb528
2 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ {
description = ""; description = "HeidiBot for Discord";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.url = "github:numtide/flake-utils";
@ -15,14 +15,20 @@
}; };
myPython = pkgs.python310.withPackages (p: with p; [ myPython = pkgs.python310.withPackages (p: with p; [
yt-dlp discordpy
python-dotenv
beautifulsoup4
requests
pynacl
rich
]); ]);
in { in {
devShell = pkgs.devshell.mkShell { devShell = pkgs.devshell.mkShell {
name = ""; name = "HeidiBot";
packages = with pkgs; [ packages = with pkgs; [
myPython myPython
nodePackages.pyright # LSP
]; ];
# Use $1 for positional args # Use $1 for positional args

View File

@ -1,6 +1,7 @@
# discord.py # not maintained discord.py # maintained again
py-cord # maintained fork of discord.py # py-cord # maintained fork of discord.py
python-dotenv # discord guild secrets python-dotenv # discord guild secrets
beautifulsoup4 # html parsing beautifulsoup4 # html parsing
requests # request web page requests # request web page
pynacl # voice support pynacl # voice support
rich