forked from yuhonas/free-exercise-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
61 lines (61 loc) · 1.76 KB
/
Copy pathflake.nix
File metadata and controls
61 lines (61 loc) · 1.76 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
description = "Nix-flake JSON environment";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
{ self, nixpkgs }:
let
systems =
f:
nixpkgs.lib.genAttrs [
"x86_64-linux" # "aarch64-linux"
# "aarch64-darwin"
] (system: f { pkgs = import nixpkgs { inherit system; }; });
in
{
devShells = systems (
{ pkgs }:
{
default = pkgs.mkShell {
packages =
with pkgs;
[
# biome
# bun # Faster runtime, bundler, package manager
# cmake
# cmake-format
# cmake-language-server
# cmake-lint
check-jsonschema
csvkit
jq
just
jsonfmt
json2yaml
python3
ruff # Fast lint and format
taplo # TOML LSP
# typescript
# typescript-language-server # TS LSP
ty # Type checker and LSP
uv # Fast packages and environment manager
vscode-langservers-extracted # HTML/CSS/JS(ON)
yaml-language-server # YAML LSP
# deno # More secure runtime
# node2nix
# nodejs
# nodePackages.pnpm
# yarn
]
++ (with pkgs.python3Packages; [
rope # Smart refactoring
python-lsp-server # Python LSP
pylsp-rope # Rope LSP
datetime # Date time
numpy # Science & maths tools
pandas # Data analysis
]);
};
}
);
};
}