-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
65 lines (63 loc) · 2.13 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
opam-version: "2.0"
maintainer: "gabe@fb.com"
authors: [
"Avik Chaudhuri"
"Basil Hosmer"
"Gabe Levi"
"Jeff Morrison"
"Marshall Roch"
"Sam Goldman"
]
homepage: "http://flowtype.org"
bug-reports: "https://github.com/facebook/flow/issues"
license: "BSD-3-Clause"
doc: "http://flowtype.org/docs/getting-started.html"
dev-repo: "git+https://github.com/facebook/flow.git"
build: [
["git" "init"]
["git" "config" "user.email" "ignoreme@example.com"]
["git" "config" "user.name" "Ignore Me"]
["git" "commit" "--allow-empty" "-m" "First commit"]
[make]
]
depends: [
"ocaml" {>= "4.01.0" & < "4.04.0"}
"base-unix"
"base-bytes"
"ocamlbuild" {build}
]
depexts: [
["elfutils-libelf-devel"] {os-distribution = "centos"}
["libelf-dev"] {os-family = "debian"}
]
post-messages: [
"This package requires libelf to be installed on your system" {failure}
]
synopsis: "Flow is a static typechecker for JavaScript."
description: """
To find out more about Flow, check out <http://flowtype.org>.
Flow adds static typing to JavaScript to improve developer productivity and
code quality. In particular, static typing offers benefits like early error
checking, which helps you avoid certain kinds of runtime failures, and code
intelligence, which aids code maintenance, navigation, transformation, and
optimization.
We have designed Flow so developers can reap its benefits without losing the
"feel" of coding in JavaScript. Flow adds minimal compile-time overhead, as it
does all its work proactively in the background. And Flow does not force you to
change how you code — it performs sophisticated program analysis to work with
the idioms you already know and love."""
url {
src: "https://github.com/facebook/flow/archive/v0.25.0.tar.gz"
checksum: [
"sha256=7144ecef267fb629051f6a941652cd6cb26793b9d91213eca0f9ef31a466cffa"
"md5=8ac32ca61889a4937dbf15b414cfc86d"
]
}
extra-source "flowtype.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/flowtype/flowtype.install"
checksum: [
"sha256=9a1b7ce553a24d96e525e718ac363557c89b8b8c8942ddc612402d6432423188"
"md5=745d1bfd1d3d3a239fde7b53666f71c7"
]
}