refactor(nix): migrate flake to flake-parts

This commit is contained in:
tux
2026-09-08 04:18:48 +05:30
parent a86a290e88
commit adf7c84269
6 changed files with 110 additions and 63 deletions

14
nix/package.nix Normal file
View File

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