2024-05-21 19:47:18 -05:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
2024-12-08 07:04:22 -05:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
flake-utils,
|
|
|
|
...
|
|
|
|
}:
|
2024-05-21 19:47:18 -05:00
|
|
|
flake-utils.lib.eachDefaultSystem (
|
2024-12-08 07:04:22 -05:00
|
|
|
system: let
|
2024-05-21 19:47:18 -05:00
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-12-08 07:04:22 -05:00
|
|
|
in {
|
2024-05-21 19:47:18 -05:00
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
# generic
|
|
|
|
git
|
|
|
|
git-lfs
|
|
|
|
gnumake
|
|
|
|
gnused
|
|
|
|
gnutar
|
|
|
|
gzip
|
|
|
|
|
|
|
|
# frontend
|
|
|
|
nodejs_20
|
|
|
|
|
|
|
|
# linting
|
|
|
|
python312
|
|
|
|
poetry
|
|
|
|
|
|
|
|
# backend
|
2024-06-11 08:47:13 -05:00
|
|
|
gofumpt
|
2024-07-12 11:25:54 -05:00
|
|
|
sqlite
|
2024-12-08 07:04:22 -05:00
|
|
|
go
|
|
|
|
gopls
|
2024-05-21 19:47:18 -05:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|