2024-05-21 20:47:18 -04: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 20:47:18 -04:00
|
|
|
flake-utils.lib.eachDefaultSystem (
|
2024-12-08 07:04:22 -05:00
|
|
|
system: let
|
2024-05-21 20:47:18 -04:00
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-12-08 07:04:22 -05:00
|
|
|
in {
|
2024-05-21 20:47:18 -04: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 09:47:13 -04:00
|
|
|
gofumpt
|
2024-07-12 12:25:54 -04:00
|
|
|
sqlite
|
2024-12-08 07:04:22 -05:00
|
|
|
go
|
|
|
|
gopls
|
2024-05-21 20:47:18 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|