Skip to content

Commit

Permalink
Merge pull request #3308 from proux01/bignums9
Browse files Browse the repository at this point in the history
Add rocq-bignums
  • Loading branch information
proux01 authored Jan 25, 2025
2 parents 1e8a27a + 80f2f47 commit 5974d3c
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
33 changes: 33 additions & 0 deletions extra-dev/packages/coq-bignums/coq-bignums.9.0.0+rocq9.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
opam-version: "2.0"
maintainer: "[email protected]"

homepage: "https://github.com/coq-community/bignums"
dev-repo: "git+https://github.com/coq-community/bignums.git"
bug-reports: "https://github.com/coq-community/bignums/issues"
license: "LGPL-2.1-only"

synopsis: "Compatibility wrapper for rocq-bignums"

depends: [
"rocq-bignums" {= version}
"coq-stdlib"
]

tags: [
"category:Miscellaneous/Coq Extensions"
"category:Mathematics/Arithmetic and Number Theory/Number theory"
"category:Mathematics/Arithmetic and Number Theory/Rational numbers"
"keyword:integer numbers"
"keyword:rational numbers"
"keyword:arithmetic"
"keyword:arbitrary precision"
"logpath:Bignums"
"date:2024-06-20"
]
authors: [
"Laurent Théry"
"Benjamin Grégoire"
"Arnaud Spiwack"
"Evgeny Makarov"
"Pierre Letouzey"
]
47 changes: 47 additions & 0 deletions extra-dev/packages/rocq-bignums/rocq-bignums.9.0.0+rocq9.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"
maintainer: "[email protected]"

homepage: "https://github.com/coq-community/bignums"
dev-repo: "git+https://github.com/coq-community/bignums.git"
bug-reports: "https://github.com/coq-community/bignums/issues"
license: "LGPL-2.1-only"

synopsis: "Bignums, the Rocq library of arbitrarily large numbers"
description: """
This Rocq library provides BigN, BigZ, and BigQ that used to
be part of the standard library."""

build: [make "-j%{jobs}%"]
install: [
[make "install"]
[make "-C" "tests" "-j%{jobs}%"] {with-test}
]
depends: [
"ocaml"
"rocq-core" {>= "9.0" & < "9.1~"}
"rocq-stdlib"
]

tags: [
"category:Miscellaneous/Coq Extensions"
"category:Mathematics/Arithmetic and Number Theory/Number theory"
"category:Mathematics/Arithmetic and Number Theory/Rational numbers"
"keyword:integer numbers"
"keyword:rational numbers"
"keyword:arithmetic"
"keyword:arbitrary precision"
"logpath:Bignums"
"date:2024-06-20"
]
authors: [
"Laurent Théry"
"Benjamin Grégoire"
"Arnaud Spiwack"
"Evgeny Makarov"
"Pierre Letouzey"
]

url {
src: "https://github.com/coq/bignums/archive/v9.0.0+rocq9.0.tar.gz"
checksum: "sha512=8ce63ee88b671ab7d20359dcd7025286af61d2b6e4e1b88f0deb39a716a455f824f739bbd1cd291e673c870e9fd95f3f5d2326192bdcca786b25f1663d9cb326"
}

0 comments on commit 5974d3c

Please sign in to comment.