Added flake

This commit is contained in:
Jurn Wubben 2025-05-19 10:09:32 +02:00
parent c750593f94
commit bd63ae9a4d
4 changed files with 50 additions and 0 deletions

22
flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
outputs = {
self,
nixpkgs,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.x86_64-linux.default =
pkgs.mkShell
{
nativeBuildInputs = [
(pkgs.python3.withPackages
(x: [x.flask x.flask-wtf x.wtforms x.flask-sqlalchemy]))
pkgs.entr
];
};
};
}