feat: setup flake

This commit is contained in:
tux
2025-02-27 17:01:50 +05:30
parent d52159d98d
commit e64319616f
5 changed files with 85 additions and 0 deletions

17
default.nix Normal file
View File

@ -0,0 +1,17 @@
{
lib,
buildGoModule,
}:
buildGoModule {
pname = "trok";
version = "0.1.0";
src = ./.;
vendorHash = "sha256-P7UBLLMMOwCeiM7aAY6A8cyXqxwn7mDTNS2kJTALHPU=";
meta = {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [tuxdotrs];
mainProgram = "trok";
};
}