-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
42 lines (42 loc) · 1.07 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
opam-version: "2.0"
maintainer: "rudi.grinberg@gmail.com"
authors: [ "Rudi Grinberg" ]
license: "WTFPL"
build: [
[make "configure"]
[make "build"]
[make "doc"] {with-doc}
]
remove: [
["ocamlfind" "remove" "mustache"]
]
depends: [
"ocaml" {>= "3.12.1"}
"ocamlfind"
"ezjsonm" {< "0.4.0"}
"oasis"
"re"
"sexplib" {< "113.01.00"}
"ounit"
"ocamlbuild" {build}
]
patches: "add_pipe.patch" {ocaml:version < "4.01.0"}
dev-repo: "git+https://github.com/rgrinberg/ocaml-mustache"
install: [make "install"]
synopsis: "Mustache logic-less templates in OCaml"
flags: light-uninstall
url {
src: "https://github.com/rgrinberg/ocaml-mustache/archive/0.0.2.tar.gz"
checksum: [
"sha256=cd726befd832975fa7e9e31cf96f74832063049f82bf2adc7655b1321eef0a5e"
"md5=d3214e90cc373b27dd2556930d84e77f"
]
}
extra-source "add_pipe.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/mustache/add_pipe.patch"
checksum: [
"sha256=9caad701a7f99b0cf8c636bf9daa45e255eba2f8bb42c9c7cb2ed3fe35b8fbd2"
"md5=2f44724daf14918be276ed873c9e0f9e"
]
}