Skip to content

Commit b02450b

Browse files
committed
Topiary v0.6.0
1 parent 95944ff commit b02450b

File tree

1 file changed

+47
-0
lines changed
  • packages/topiary/topiary.0.6.0

1 file changed

+47
-0
lines changed

packages/topiary/topiary.0.6.0/opam

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
opam-version: "2.0"
2+
3+
maintainer: "[email protected]"
4+
authors: [ "Tweag" ]
5+
6+
homepage: "https://topiary.tweag.io/"
7+
bug-reports: "https://github.com/tweag/topiary/issues"
8+
dev-repo: "git+https://github.com/tweag/topiary.git"
9+
10+
license: "MIT"
11+
depends: ["conf-rust-2021"]
12+
13+
build:[
14+
[ "cargo" "build"
15+
"--release"
16+
"--package" "topiary-cli" ]
17+
[ "sh" "make-topiary-wrapper.sh"
18+
"--queries-dir" "%{share}%/topiary/queries"
19+
"--topiary-wrapped" "%{bin}%/.topiary-wrapped/topiary"
20+
"--output-file" "topiary-wrapper" ]
21+
]
22+
23+
install: [
24+
[ "mkdir" "%{bin}%/.topiary-wrapped" ]
25+
[ "cp" "target/release/topiary" "%{bin}%/.topiary-wrapped/topiary" ]
26+
[ "cp" "topiary-wrapper" "%{bin}%/topiary" ]
27+
[ "mkdir" "%{share}%/topiary" ]
28+
[ "cp" "-R" "topiary/topiary-queries/queries" "%{share}%/topiary/queries" ]
29+
]
30+
31+
synopsis: "A formatter for OCaml based on the Topiary universal formatting engine"
32+
description: """
33+
Topiary is a tool in the Tree-sitter ecosystem, designed for formatter authors
34+
and formatter users. Authors can create a formatter without having to write
35+
their own engine or even their own parser. Users benefit from uniform code style
36+
and the convenience of using a single formatter tool across multiple languages.
37+
38+
Topiary is written in Rust and developed by Tweag.
39+
"""
40+
41+
url {
42+
src: "https://github.com/tweag/topiary-opam/releases/download/v0.6.0/source-code-with-submodules.tar.xz"
43+
checksum: [
44+
"md5=6e9771b047d5ca821fde4545f862e557"
45+
"sha512=589ae0ba7ed3146f8f71ba0a55723fe79a4c0a1e876ddc1b004766482dd7f60b17bb62a94bf9f952c3a2535cf832f53ceef71066df0945244bab94ea3751e2e1"
46+
]
47+
}

0 commit comments

Comments
 (0)