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 "--language-dir" "%{share}%/topiary/languages"
19 "--topiary-wrapped" "%{bin}%/.topiary-wrapped"
20 "--output-file" "topiary-wrapper" ]
21]
22
23install: [
24 [ "cp" "target/release/topiary" "%{bin}%/.topiary-wrapped" ]
25 [ "cp" "topiary-wrapper" "%{bin}%/topiary" ]
26 [ "mkdir" "%{share}%/topiary" ]
27 [ "cp" "-R" "topiary/languages" "%{share}%/topiary/languages" ]
28]
29
30synopsis: "A formatter for OCaml based on the Topiary universal formatting engine"
31description: """
32Topiary is a tool in the Tree-sitter ecosystem, designed for formatter authors
33and formatter users. Authors can create a formatter without having to write
34their own engine or even their own parser. Users benefit from uniform code style
35and the convenience of using a single formatter tool across multiple languages.
36
37Topiary is written in Rust and developed by Tweag.
38"""
39
40url {
41 src: "https://github.com/tweag/topiary-opam/releases/download/v0.2.0/source-code-with-submodules.tar.xz"
42 checksum: [
43 "md5=f9b8bb855ff2edc45bd5e96628fafecf"
44 "sha512=99de859ceb912541cf98fc3af2c0b4736e322c2e3128899c4f21e18c7bbc5b0f56f210d8a986ef9b28c02ef44a78b0dd1d2da4b14e7b95379669068b1e44feab"
45 ]
46}