Skip to content

Commit 6d67516

Browse files
authored
Merge pull request ocaml#26874 from vincent-botbol/opam-publish-catala-format.0.1.1
Package catala-format.0.1.1
2 parents 9e5cf6f + 1298083 commit 6d67516

File tree

1 file changed

+43
-0
lines changed
  • packages/catala-format/catala-format.0.1.1

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [ "Vincent Botbol" ]
4+
5+
homepage: "https://github.com/CatalaLang/catala-format"
6+
bug-reports: "https://github.com/CatalaLang/catala-format"
7+
dev-repo: "git+https://github.com/CatalaLang/catala-format.git"
8+
9+
license: "Apache-2.0"
10+
depends: [
11+
"topiary" {>= "0.5.1"}
12+
]
13+
14+
build:[
15+
[ "sh" "make-wrapper.sh"
16+
"--query-file" "%{share}%/topiary/queries/catala.scm"
17+
"--config-file" "%{share}%/topiary/configs/catala.ncl"
18+
"--topiary-wrapped" "%{bin}%/.topiary-wrapped/topiary"
19+
"--output-file" "catala-format" ]
20+
]
21+
22+
install: [
23+
[ "cp" "catala-format" "%{bin}%/catala-format" ]
24+
[ "mkdir" "-p" "%{share}%/topiary/queries" ]
25+
[ "cp" "catala.scm" "%{share}%/topiary/queries" ]
26+
[ "mkdir" "-p" "%{share}%/topiary/configs" ]
27+
[ "cp" "catala.ncl" "%{share}%/topiary/configs" ]
28+
]
29+
30+
synopsis: "A formatter for Catala based on the Topiary universal formatting engine"
31+
description: """
32+
A formatter for Catala based on the Topiary universal formatting engine.
33+
34+
Topiary repository: https://github.com/tweag/topiary
35+
"""
36+
url {
37+
src:
38+
"https://github.com/CatalaLang/catala-format/archive/refs/tags/catala-format.0.1.1.tar.gz"
39+
checksum: [
40+
"md5=ccd5058b4deb05364a530c37aee8bdbc"
41+
"sha512=27ee1d7e95d6d5cba567fab5fc0450d1c6722033187ed538c252127925fb60098682edab1778fbeb806ae8259ed9e913daf8923ac7e4478f010acb17159a84f5"
42+
]
43+
}

0 commit comments

Comments
 (0)