Skip to content

Commit 48e435d

Browse files
committed
Create karamel packages
1 parent 256625c commit 48e435d

File tree

2 files changed

+99
-0
lines changed
  • packages/karamel

2 files changed

+99
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: "Jonathan Protzenko <[email protected]>"
4+
homepage: "https://github.com/fstarlang/karamel"
5+
license: "Apache-2.0"
6+
depends: [
7+
"ocaml" {>= "4.04.0" & < "4.07.0"}
8+
"ocamlfind" {build}
9+
"batteries"
10+
"zarith"
11+
"stdint"
12+
"yojson"
13+
"ocamlbuild" {build}
14+
"fileutils"
15+
"menhir" {>= "20161115"}
16+
"pprint"
17+
"ulex"
18+
"process"
19+
"fix"
20+
"visitors"
21+
"wasm"
22+
"ppx_deriving"
23+
"ppx_deriving_yojson"
24+
"fstar" {>= "0.9.6.0"}
25+
]
26+
depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"}
27+
build: [
28+
[make "PREFIX=%{prefix}%"]
29+
]
30+
install: [
31+
[make "PREFIX=%{prefix}%" "install"]
32+
]
33+
remove: [
34+
[ "rm" "-rf"
35+
"%{prefix}%/lib/krml"
36+
"%{prefix}%/include/krml"
37+
"%{prefix}%/doc/krml"
38+
"%{prefix}%/bin/krml"
39+
"%{prefix}%/share/krml" ]
40+
]
41+
dev-repo: "git+https://github.com/FStarLang/karamel"
42+
bug-reports: "https://github.com/FStarLang/karamel/issues"
43+
synopsis: "A compiler from Low*, a low-level subset of F*, to C."
44+
flags: light-uninstall
45+
url {
46+
src: "https://github.com/FStarLang/karamel/archive/v0.9.6.0.zip"
47+
checksum: "md5=6a580d0b470484db5637d593a06811be"
48+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: "Jonathan Protzenko <[email protected]>"
4+
homepage: "https://github.com/fstarlang/karamel"
5+
license: "Apache-2.0"
6+
depends: [
7+
"ocaml" {>= "4.08.0"}
8+
"ocamlfind" {build}
9+
"batteries"
10+
"zarith"
11+
"stdint"
12+
"yojson"
13+
"ocamlbuild" {build}
14+
"fileutils"
15+
"menhir" {>= "20161115"}
16+
"pprint"
17+
"ulex"
18+
"process"
19+
"fix"
20+
"visitors"
21+
"wasm" {= "1.1.1"}
22+
"ppx_deriving"
23+
"ppx_deriving_yojson"
24+
"fstar" {= "2022.01.15"}
25+
]
26+
depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"}
27+
build: [
28+
[make "PREFIX=%{prefix}%"]
29+
]
30+
install: [
31+
[make "PREFIX=%{prefix}%" "install"]
32+
]
33+
remove: [
34+
[ "rm" "-rf"
35+
"%{prefix}%/lib/krml"
36+
"%{prefix}%/include/krml"
37+
"%{prefix}%/doc/krml"
38+
"%{prefix}%/bin/krml"
39+
"%{prefix}%/share/krml" ]
40+
]
41+
dev-repo: "git+https://github.com/FStarLang/karamel"
42+
bug-reports: "https://github.com/FStarLang/karamel/issues"
43+
synopsis: "A compiler from Low*, a low-level subset of F*, to C"
44+
flags: light-uninstall
45+
url {
46+
src: "https://github.com/ocaml/opam-source-archives/raw/main/kremlin-1.0.0.zip"
47+
checksum: [
48+
"md5=b8bf9167faca0927f86cf5bb1d3d987a"
49+
"sha512=e49938727bf31dc6fd739628be6fbe97fe01ec7dde2e7e72ee57af1ab2fc61934728f3b7b792268f432e6bb03a03f9aa48da9b7908b15ca9162fb0819790ccf2"
50+
]
51+
}

0 commit comments

Comments
 (0)