flake.nix: add devshell

This commit is contained in:
2026-05-26 14:47:25 +09:00
parent 4a32a41587
commit bf73af647f
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
use flake
+15
View File
@@ -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 {