mirror of
https://gitea.com/gitea/tea.git
synced 2025-03-12 12:49:55 +01:00
30 lines
766 B
Nix
30 lines
766 B
Nix
![]() |
{
|
||
|
description = "Tea - A command line tool to interact with Gitea";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
||
|
flake-utils.lib.eachDefaultSystem (system:
|
||
|
let
|
||
|
pkgs = import nixpkgs { inherit system; };
|
||
|
in
|
||
|
{
|
||
|
devShells.default = pkgs.mkShell {
|
||
|
name = "tea-dev-environment";
|
||
|
buildInputs = with pkgs; [
|
||
|
go_1_24
|
||
|
gopls
|
||
|
gnumake
|
||
|
# Add other dependencies here if needed
|
||
|
];
|
||
|
|
||
|
shellHook = ''
|
||
|
echo 'Welcome to tea. Check out the Makefile for runnable targets.'
|
||
|
'';
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|