mirror of https://github.com/go-gitea/gitea.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
736 B
38 lines
736 B
{ |
|
inputs = { |
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; |
|
flake-utils.url = "github:numtide/flake-utils"; |
|
}; |
|
outputs = |
|
{ nixpkgs, flake-utils, ... }: |
|
flake-utils.lib.eachDefaultSystem ( |
|
system: |
|
let |
|
pkgs = nixpkgs.legacyPackages.${system}; |
|
in |
|
{ |
|
devShells.default = pkgs.mkShell { |
|
buildInputs = with pkgs; [ |
|
# generic |
|
git |
|
git-lfs |
|
gnumake |
|
gnused |
|
gnutar |
|
gzip |
|
|
|
# frontend |
|
nodejs_22 |
|
|
|
# linting |
|
python312 |
|
poetry |
|
|
|
# backend |
|
gofumpt |
|
sqlite |
|
]; |
|
}; |
|
} |
|
); |
|
}
|
|
|