add flake.nix
maybe even publish to nixpkgs
for example with https://github.com/ahkohd/oyo/blob/main/flake.nix
I can simply do: nix shell github:ahkohd/oyo and I'm dropped into sub-shell with oyo on path
can also just nix run github:ahkohd/oyo
happy to take a minimal flake.nix as a PR. The repo is already shaped for it - CGO_ENABLED=0 and fully vendored, so buildGoModule with vendorHash = null builds straight from the committed vendor/ tree with no hash to chase on dependency bumps. The ldflag matches the Makefile's -X main.revision, wrapped in flake-utils.eachDefaultSystem that gives you nix run github:umputun/revdiff.
pls keep it to just flake.nix + flake.lock, no extra CI - I'd rather not carry a nix builder in the pipeline, and a pure-go vendored flake is stable enough not to need one.
nixpkgs I'll leave to the community side - an entry there can be authored and updated by anyone without touching this repo, so feel free to own that if you want it.