flake.nix: add devshell
This commit is contained in:
@@ -8,6 +8,21 @@
|
||||
inherit (nixpkgs) lib;
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.${system} = {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
(python3.withPackages (ppkgs: with ppkgs; [
|
||||
beautifulsoup4
|
||||
markdown2
|
||||
matrix-nio
|
||||
mysql-connector
|
||||
requests
|
||||
]))
|
||||
ruff
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
packages.${system} = {
|
||||
default = self.packages.${system}.pvv-calendar-bot;
|
||||
pvv-calendar-bot = pkgs.python3Packages.buildPythonPackage {
|
||||
|
||||
Reference in New Issue
Block a user