refactor(nix): rename default.nix to package.nix

This commit is contained in:
tux
2026-09-07 21:15:50 +05:30
parent c1ba1e55d0
commit ad3792139d
2 changed files with 26 additions and 22 deletions

17
package.nix Normal file
View File

@@ -0,0 +1,17 @@
{
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";
};
}