this repo has no description
1opam-version: "2.0"
2
3maintainer: "hello@tweag.io"
4authors: [ "Tweag" ]
5
6homepage: "https://topiary.tweag.io/"
7bug-reports: "https://github.com/tweag/topiary/issues"
8dev-repo: "git+https://github.com/tweag/topiary.git"
9
10license: "MIT"
11depends: ["conf-rust-2021"]
12
13build:[
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
23install: [
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
31synopsis: "A formatter for OCaml based on the Topiary universal formatting engine"
32description: """
33Topiary is a tool in the Tree-sitter ecosystem, designed for formatter authors
34and formatter users. Authors can create a formatter without having to write
35their own engine or even their own parser. Users benefit from uniform code style
36and the convenience of using a single formatter tool across multiple languages.
37
38Topiary is written in Rust and developed by Tweag.
39"""
40
41url {
42 src: "https://github.com/tweag/topiary-opam/releases/download/v0.3.0/source-code-with-submodules.tar.xz"
43 checksum: [
44 "md5=c6df8088a4eef1857e1ed8237a365009"
45 "sha512=fa5b17d1f5dadf3b01269374dceb37198024bd3794fcab16ab8e7d77465a21ff4d8e9aa69bc2ea7146974eaf9d7d14b50c3455f9055a9188ed340dcbf0260461"
46 ]
47}