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