Update development dependencies

This commit is contained in:
2025-09-23 20:37:27 +02:00
parent d319fa21f5
commit f167b23dcc
2 changed files with 47 additions and 72 deletions

View File

@ -5,52 +5,43 @@
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.devshell.url = "github:numtide/devshell";
outputs = { self, nixpkgs, flake-utils, devshell }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ devshell.overlays.default ];
};
outputs = {
self,
nixpkgs,
flake-utils,
devshell,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [devshell.overlays.default];
};
myPython = pkgs.python311.withPackages (p: with p; [
# Basic
rich
# Discord
discordpy
python = pkgs.python313.withPackages (p:
with p; [
python-dotenv
pynacl
# Scraping
# beautifulsoup4
# requests
# MachineLearning
# torch-rocm
# torchvision-rocm
# numpy
# matplotlib
# nltk
discordpy
pynacl # DiscordPy Voice Support
]);
in {
devShell = pkgs.devshell.mkShell {
name = "HeidiBot";
in {
devShell = pkgs.devshell.mkShell {
name = "HeidiBot";
packages = with pkgs; [
myPython
# nodePackages.pyright # LSP
];
packages = with pkgs; [
python
# nodePackages.pyright # LSP
];
# Use $1 for positional args
commands = [
# {
# name = "";
# help = "";
# command = "";
# }
];
};
});
# Use $1 for positional args
commands = [
# {
# name = "";
# help = "";
# command = "";
# }
];
};
});
}