1 { lib, buildGoModule, fetchFromGitLab }:
7 src = fetchFromGitLab {
11 hash = "sha256-WoxrwAH2ocDuwRj52QHPN3sOMXIF3ygzKeb83BKZqKo=";
14 vendorHash = "sha256-myMUs9urHjYaOQ/UaPYlLZstvClOuvF5xJao4lTP5bY=";
16 ldflags = [ "-s" "-w" ];
19 description = "Convert text to JSON using only regular expressions";
20 homepage = "https://gitlab.com/tozd/regex2json";
21 changelog = "https://gitlab.com/tozd/regex2json/-/blob/${src.rev}/CHANGELOG.md";
22 license = lib.licenses.asl20;
23 maintainers = with lib.maintainers; [ nagy ];
24 mainProgram = "regex2json";