chore: initial prototype

This commit is contained in:
technofab 2025-05-03 22:05:29 +02:00
commit c1c19c324d
16 changed files with 1099 additions and 0 deletions

16
package.nix Normal file
View file

@ -0,0 +1,16 @@
{buildGoModule, ...}:
buildGoModule {
name = "nixtest";
src =
# filter everything except for cmd/ and go.mod, go.sum
builtins.filterSource (
path: type:
builtins.match ".*(/cmd/?.*|/go\.(mod|sum))$"
path
!= null
)
./.;
subPackages = ["cmd/nixtest"];
vendorHash = "sha256-H0KiuTqY2cxsUvqoxWAHKHjdfsBHjYkqxdYgTY0ftes=";
meta.mainProgram = "nixtest";
}