Update development dependencies
This commit is contained in:
75
flake.nix
75
flake.nix
@ -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 = "";
|
||||
# }
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user