Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phunehehe/brackets
Mirror of https://gitlab.com/phunehehe/brackets
https://github.com/phunehehe/brackets
haskell text-processing
Last synced: 3 days ago
JSON representation
Mirror of https://gitlab.com/phunehehe/brackets
- Host: GitHub
- URL: https://github.com/phunehehe/brackets
- Owner: phunehehe
- License: mpl-2.0
- Created: 2015-08-26T01:09:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T10:28:00.000Z (about 7 years ago)
- Last Synced: 2024-12-16T22:42:45.987Z (about 2 months ago)
- Topics: haskell, text-processing
- Language: Haskell
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# brackets
[![pipeline status](https://gitlab.com/phunehehe/brackets/badges/master/pipeline.svg)](https://gitlab.com/phunehehe/brackets/commits/master)
`brackets` is a generic pretty printer for structured text, like JSON. Of course
for JSON you can use the legendary [`jq`](https://stedolan.github.io/jq/), but
what about things that are not really JSON? Use `brackets` :)```
$ cat /nix/store/zzxgnl7n65dni529bcz5jnyfvb6l36iy-coreutils-8.23.drv
Derive([("out","/nix/store/bnlcsbw7nhd21vw4xssnxwi9y7h2asjj-coreutils-8.23","","")],[("/nix/store/6z2rs2khvcsnq4draxra6jizfd2ilgsb-coreutils-8.23.tar.xz.drv",["out"]),("/nix/store/84lcal4gvmznrl2yyik6jbimvrgpy1vs-perl-5.20.2.drv",["out"]),("/nix/store/8cymvwkm21qgxid71brsibvfcv42s6ri-acl-2.2.52.drv",["out"]),("/nix/store/dnizxawq0rp3jwfzl71y1sa9iynnmsmx-stdenv-linux-boot.drv",["out"]),("/nix/store/l886jfzszkkdw8b5q81f943sxf89gvra-gmp-5.1.3.drv",["out"]),("/nix/store/mk7dhr7325pkj7cavq8scww81md64qnx-bootstrap-tools.drv",["out"])],["/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],"x86_64-linux","/nix/store/k0vqprjmxybr7clvfljk13zsdjwklcch-bootstrap-tools/bin/sh",["-e","/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],[("NIX_LDFLAGS",""),("buildInputs",""),("builder","/nix/store/k0vqprjmxybr7clvfljk13zsdjwklcch-bootstrap-tools/bin/sh"),("doCheck","1"),("enableParallelBuilding",""),("makeFlags",""),("name","coreutils-8.23"),("nativeBuildInputs","/nix/store/aq5ilvzlqq3ndxp7q80s33z6mqi38y0y-perl-5.20.2 /nix/store/m9cc7hjn6pbv57708bh2yli7qd5vw2pk-gmp-5.1.3 /nix/store/jk37x39wbkban1yzxgxik0pdlgvp0c9p-acl-2.2.52"),("out","/nix/store/bnlcsbw7nhd21vw4xssnxwi9y7h2asjj-coreutils-8.23"),("postPatch","sed '2i echo Skipping dd sparse test && exit 0' -i ./tests/dd/sparse.sh\n"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("src","/nix/store/0cijybc2m6n9g80phq584fb3sgdb3ldi-coreutils-8.23.tar.xz"),("stdenv","/nix/store/p8ghfy81bxzc4w01n3cc1vghfszylw49-stdenv-linux-boot"),("system","x86_64-linux")])$ brackets < /nix/store/zzxgnl7n65dni529bcz5jnyfvb6l36iy-coreutils-8.23.drv
Derive
(
[
(
"out","/nix/store/bnlcsbw7nhd21vw4xssnxwi9y7h2asjj-coreutils-8.23","",""
)
]
,
[
(
"/nix/store/6z2rs2khvcsnq4draxra6jizfd2ilgsb-coreutils-8.23.tar.xz.drv",
[
"out"
]
)
,
(
"/nix/store/84lcal4gvmznrl2yyik6jbimvrgpy1vs-perl-5.20.2.drv",
[
"out"
]
)
,
(
"/nix/store/8cymvwkm21qgxid71brsibvfcv42s6ri-acl-2.2.52.drv",
[
"out"
]
)
,
(
"/nix/store/dnizxawq0rp3jwfzl71y1sa9iynnmsmx-stdenv-linux-boot.drv",
[
"out"
]
)
,
(
"/nix/store/l886jfzszkkdw8b5q81f943sxf89gvra-gmp-5.1.3.drv",
[
"out"
]
)
,
(
"/nix/store/mk7dhr7325pkj7cavq8scww81md64qnx-bootstrap-tools.drv",
[
"out"
]
)
]
,
[
"/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
]
,"x86_64-linux","/nix/store/k0vqprjmxybr7clvfljk13zsdjwklcch-bootstrap-tools/bin/sh",
[
"-e","/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
]
,
[
(
"NIX_LDFLAGS",""
)
,
(
"buildInputs",""
)
,
(
"builder","/nix/store/k0vqprjmxybr7clvfljk13zsdjwklcch-bootstrap-tools/bin/sh"
)
,
(
"doCheck","1"
)
,
(
"enableParallelBuilding",""
)
,
(
"makeFlags",""
)
,
(
"name","coreutils-8.23"
)
,
(
"nativeBuildInputs","/nix/store/aq5ilvzlqq3ndxp7q80s33z6mqi38y0y-perl-5.20.2 /nix/store/m9cc7hjn6pbv57708bh2yli7qd5vw2pk-gmp-5.1.3 /nix/store/jk37x39wbkban1yzxgxik0pdlgvp0c9p-acl-2.2.52"
)
,
(
"out","/nix/store/bnlcsbw7nhd21vw4xssnxwi9y7h2asjj-coreutils-8.23"
)
,
(
"postPatch","sed '2i echo Skipping dd sparse test && exit 0' -i ./tests/dd/sparse.sh\n"
)
,
(
"propagatedBuildInputs",""
)
,
(
"propagatedNativeBuildInputs",""
)
,
(
"src","/nix/store/0cijybc2m6n9g80phq584fb3sgdb3ldi-coreutils-8.23.tar.xz"
)
,
(
"stdenv","/nix/store/p8ghfy81bxzc4w01n3cc1vghfszylw49-stdenv-linux-boot"
)
,
(
"system","x86_64-linux"
)
]
)
```