Skip to content

Commit

Permalink
Merge pull request #23920 from Niols/topiary-v0.2.2
Browse files Browse the repository at this point in the history
Topiary v0.2.2
  • Loading branch information
avsm authored Jun 13, 2023
2 parents cb1f0fd + 94bce90 commit 72ee9f7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions packages/topiary/topiary.0.2.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
opam-version: "2.0"

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

homepage: "https://github.com/tweag/topiary"
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"
"--language-dir" "%{share}%/topiary/languages"
"--topiary-wrapped" "%{bin}%/.topiary-wrapped"
"--output-file" "topiary-wrapper" ]
]

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

synopsis: "A formatter for OCaml based on the Topiary universal formatting engine"

url {
src: "https://github.com/tweag/topiary-opam/releases/download/v0.2.2/source-code-with-submodules.tar.xz"
checksum: [
"md5=03f0492cc65864f5d76312c66e8ae94b"
"sha512=e53aa24e3893d4b537acb426d98afbe2e1eb17bdefd02f1af6b8ceaa3cdcaf24037709572f4b211e40c481a518653f4c7316cbc839728cd990bcd8233ecfc0a2"
]
}

0 comments on commit 72ee9f7

Please sign in to comment.