mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
regex2json: init at 0.11.0
This commit is contained in:
parent
4e2c537318
commit
6ca6d3cb98
26
pkgs/by-name/re/regex2json/package.nix
Normal file
26
pkgs/by-name/re/regex2json/package.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildGoModule, fetchFromGitLab }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "regex2json";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "tozd";
|
||||
repo = "regex2json";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WoxrwAH2ocDuwRj52QHPN3sOMXIF3ygzKeb83BKZqKo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-myMUs9urHjYaOQ/UaPYlLZstvClOuvF5xJao4lTP5bY=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = {
|
||||
description = "Convert text to JSON using only regular expressions";
|
||||
homepage = "https://gitlab.com/tozd/regex2json";
|
||||
changelog = "https://gitlab.com/tozd/regex2json/-/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ nagy ];
|
||||
mainProgram = "regex2json";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user