32 lines
604 B
Nix
32 lines
604 B
Nix
{
|
|
name = "hjq";
|
|
|
|
description = "Drop-in jq replacement for HJSON that tries to preserve comments";
|
|
|
|
inputs = {
|
|
stdin = {
|
|
format = "HJSON";
|
|
react = "push";
|
|
};
|
|
jqFilter = {
|
|
format = "string";
|
|
react = "push";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
stdout = {
|
|
format = "HJSON";
|
|
react = "push";
|
|
};
|
|
};
|
|
|
|
build = {
|
|
hashFiles = [ ./deno.json ./deno.lock ];
|
|
cacheCommand = "deno cache --frozen main.ts";
|
|
knownHashes = {
|
|
"sha1-gSeoE0sSj+dFQ7SUoyaQV0X/KJE=" =
|
|
"sha256-0ZfdWVfShbhgAoSse9vEpFPRh5XTTVjgxGMmezwon9I=";
|
|
};
|
|
};
|
|
}
|