22 lines
435 B
Nix
22 lines
435 B
Nix
{
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}: let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShells.${system}.default =
|
|
pkgs.mkShell
|
|
{
|
|
nativeBuildInputs = [
|
|
pkgs.entr
|
|
pkgs.fastapi-cli
|
|
(pkgs.python3.withPackages (x: [x.crc x.fastapi x.sqlmodel x.sqlalchemy]))
|
|
];
|
|
};
|
|
};
|
|
}
|