Skip to content

Commit d564f3d

Browse files
authored
Merge pull request #26178 from Leonidas-from-XIV/num-dune-pkg
Install `num.1.5` in findlib directory as well as stdlib
2 parents a84c997 + 545557a commit d564f3d

File tree

1 file changed

+35
-0
lines changed
  • packages/num/num.1.5-1

1 file changed

+35
-0
lines changed

packages/num/num.1.5-1/opam

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "Xavier Leroy <[email protected]>"
3+
authors: [
4+
"Valérie Ménissier-Morain"
5+
"Pierre Weis"
6+
"Xavier Leroy"
7+
]
8+
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
9+
homepage: "https://github.com/ocaml/num/"
10+
bug-reports: "https://github.com/ocaml/num/issues"
11+
dev-repo: "git+https://github.com/ocaml/num.git"
12+
build: [
13+
[make "PROFILE=release"
14+
"opam-legacy" {!ocaml:preinstalled & ocaml:version < "5.0.0~~"}
15+
"opam-modern" {ocaml:preinstalled | ocaml:version >= "5.0.0~~"}]
16+
[make "test"] {with-test}
17+
]
18+
depends: [
19+
"ocaml" {>= "4.06.0"}
20+
]
21+
conflicts: [ "base-num" ]
22+
synopsis:
23+
"The legacy Num library for arbitrary-precision integer and rational arithmetic"
24+
patches: ["num-in-findlib-dir.patch"]
25+
url {
26+
src: "https://github.com/ocaml/num/archive/v1.5.tar.gz"
27+
checksum: [
28+
"md5=b1f9405dfe5f573ea187f122f789ae57"
29+
"sha512=110dd01140c1c96f5f067aa824bb63f74a26411dcaa65aaf04cb6c44b116ca02aaab9505f431c66964388ce4a31d86da5928b4c0e5557800e834de80bed46495"
30+
]
31+
}
32+
extra-source "num-in-findlib-dir.patch" {
33+
src: "https://github.com/ocaml/num/commit/f6e31b1653f32c7c425b69c2b123ab2f924a4d61.patch?full_index=1"
34+
checksum: "sha256=f93880031ed823249f4aac860e0d9e5cdc2878550db13914db25b1585803cf05"
35+
}

0 commit comments

Comments
 (0)