-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
31 lines (30 loc) · 1.08 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
description = "A basic flake with a shell";
# inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/1ae1ab8d01d53806bfaf96beddd86776d9cd205e";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
packages = [
pkgs.nodePackages.typescript
pkgs.nodePackages.pyright
pkgs.python310Full
pkgs.python310Packages.uvicorn
pkgs.python310Packages.fastapi
pkgs.python310Packages.jinja2
pkgs.python310Packages.aiohttp
pkgs.python310Packages.aiofiles
pkgs.python310Packages.requests
pkgs.python310Packages.beautifulsoup4
pkgs.python310Packages.lxml
pkgs.python310Packages.scrapy
pkgs.python310Packages.mypy
pkgs.python310Packages.pyyaml
pkgs.python310Packages.websockets
];
};
});
}