opam-version: "2.0" maintainer: "Jane Street developers" authors: ["Jane Street Group, LLC"] homepage: "https://github.com/janestreet/base" bug-reports: "https://github.com/janestreet/base/issues" dev-repo: "git+https://github.com/janestreet/base.git" doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/base/index.html" license: "MIT" build: [ ["dune" "build" "-p" name "-j" jobs] ] depends: [ "ocaml" {>= "5.1.0"} "ocaml_intrinsics_kernel" {>= "v0.17" & < "v0.18"} "sexplib0" {>= "v0.17" & < "v0.18"} "dune" {>= "3.11.0"} "dune-configurator" ] available: arch != "x86_32" synopsis: "Full standard library replacement for OCaml" description: " Full standard library replacement for OCaml Base is a complete and portable alternative to the OCaml standard library. It provides all standard functionalities one would expect from a language standard library. It uses consistent conventions across all of its module. Base aims to be usable in any context. As a result system dependent features such as I/O are not offered by Base. They are instead provided by companion libraries such as stdio: https://github.com/janestreet/stdio " url { src: "https://github.com/janestreet/base/archive/refs/tags/v0.17.1.tar.gz" checksum: [ "md5=9ad01b82a1013ca72b9b7628c9a5d954" "sha512=ed5eb5e83d8085fc06f111862d609b393e394bbdcc6e25bab50030a250ffa2e540dbee02169b6f28ec220f10f61d189cd7b5646eece910c63620f5174fb5a655" ] } patches: ["fix-mpopcnt.patch" { arch="arm64" & os="macos"} ] extra-source "fix-mpopcnt.patch" { src: "https://patch-diff.githubusercontent.com/raw/janestreet/base/pull/180.diff" checksum: [ "sha256=78fecf4719e82aec5fc17a1140df18b07c1a640d3336c39dcd5cd85206bcede3" ] }