diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/flake.nix b/flake.nix index 94a8af6..59d46f8 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {