Skip to content

Commit

Permalink
Topiary v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Niols committed Feb 4, 2025
1 parent 95944ff commit b02450b
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions packages/topiary/topiary.0.6.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"

maintainer: "[email protected]"
authors: [ "Tweag" ]

homepage: "https://topiary.tweag.io/"
bug-reports: "https://github.com/tweag/topiary/issues"
dev-repo: "git+https://github.com/tweag/topiary.git"

license: "MIT"
depends: ["conf-rust-2021"]

build:[
[ "cargo" "build"
"--release"
"--package" "topiary-cli" ]
[ "sh" "make-topiary-wrapper.sh"
"--queries-dir" "%{share}%/topiary/queries"
"--topiary-wrapped" "%{bin}%/.topiary-wrapped/topiary"
"--output-file" "topiary-wrapper" ]
]

install: [
[ "mkdir" "%{bin}%/.topiary-wrapped" ]
[ "cp" "target/release/topiary" "%{bin}%/.topiary-wrapped/topiary" ]
[ "cp" "topiary-wrapper" "%{bin}%/topiary" ]
[ "mkdir" "%{share}%/topiary" ]
[ "cp" "-R" "topiary/topiary-queries/queries" "%{share}%/topiary/queries" ]
]

synopsis: "A formatter for OCaml based on the Topiary universal formatting engine"
description: """
Topiary is a tool in the Tree-sitter ecosystem, designed for formatter authors
and formatter users. Authors can create a formatter without having to write
their own engine or even their own parser. Users benefit from uniform code style
and the convenience of using a single formatter tool across multiple languages.

Topiary is written in Rust and developed by Tweag.
"""

url {
src: "https://github.com/tweag/topiary-opam/releases/download/v0.6.0/source-code-with-submodules.tar.xz"
checksum: [
"md5=6e9771b047d5ca821fde4545f862e557"
"sha512=589ae0ba7ed3146f8f71ba0a55723fe79a4c0a1e876ddc1b004766482dd7f60b17bb62a94bf9f952c3a2535cf832f53ceef71066df0945244bab94ea3751e2e1"
]
}

0 comments on commit b02450b

Please sign in to comment.