Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topiary v0.6.0 #27367

Merged
merged 3 commits into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]
Niols marked this conversation as resolved.
Show resolved Hide resolved

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"
]
}
Loading