2024-05-22 02:47:18 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
2024-12-08 13:04:22 +01:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
flake-utils,
|
|
|
|
...
|
|
|
|
}:
|
2024-05-22 02:47:18 +02:00
|
|
|
flake-utils.lib.eachDefaultSystem (
|
2024-12-08 13:04:22 +01:00
|
|
|
system: let
|
2024-05-22 02:47:18 +02:00
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
2024-12-08 13:04:22 +01:00
|
|
|
in {
|
2024-05-22 02:47:18 +02: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 15:47:13 +02:00
|
|
|
gofumpt
|
2024-07-12 18:25:54 +02:00
|
|
|
sqlite
|
2024-12-08 13:04:22 +01:00
|
|
|
go
|
|
|
|
gopls
|
2024-05-22 02:47:18 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|