-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
37 lines (37 loc) · 1.26 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
opam-version: "2.0"
authors: [ "Maas-Maarten Zeeman" "Sylvain Le Gall" ]
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "http://ounit.forge.ocamlcore.org"
bug-reports: "https://forge.ocamlcore.org/tracker/?func=browse&group_id=162&atid=730"
dev-repo: "git+https://github.com/gildor478/ounit.git"
doc: ["http://ounit.forge.ocamlcore.org/api-ounit/index.html"]
build: [make "build"]
remove: [["ocamlfind" "remove" "oUnit"]]
depends: [
"ocaml" {< "5.0"}
"ocamlfind"
"ocamlbuild" {build}
]
conflicts: [
"ounit2" {!= version}
]
patches: "safe-string.patch" {ocaml:version >= "4.04.0"}
install: [make "install"]
synopsis:
"Unit testing framework loosely based on HUnit. It is similar to JUnit, and other XUnit testing frameworks"
flags: light-uninstall
url {
src: "https://download.ocamlcore.org/ounit/ounit/2.0.0/ounit-2.0.0.tar.gz"
checksum: [
"sha256=4d4a05b20c39c60d7486fb7a90eb4c5c08e8c9862360b5938b97a09e9bd21d85"
"md5=2e0a24648c55005978d4923eb4925b28"
]
}
extra-source "safe-string.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ounit/safe-string.patch"
checksum: [
"sha256=fa5f16fa304f87ac3cd0212e6a623344089e671bf9b2f870a470e4ac0b87cfd4"
"md5=3558ea6c3c4944d3b559f4cf36f91cd2"
]
}