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