update deps (back to discord.py + rich)
This commit is contained in:
12
flake.nix
12
flake.nix
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user