rwo.opam 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # This file is generated by dune, edit dune-project instead
  2. opam-version: "2.0"
  3. synopsis: "Real World OCaml book sources"
  4. description: """
  5. Scripts and sources to compile the Real World OCaml
  6. second edition book. See https://realworldocaml.org/"""
  7. maintainer: ["anil@recoil.org"]
  8. authors: ["Anil Madhavapeddy" "Yaron Minsky"]
  9. license: "ISC"
  10. homepage: "https://github.com/realworldocaml/book"
  11. bug-reports: "https://github.com/realworldocaml/book/issues"
  12. depends: [
  13. "dune" {>= "2.9"}
  14. "ocaml" {>= "4.14.0" & < "4.15.0"}
  15. "alcotest"
  16. "async"
  17. "async_graphics"
  18. "atdgen"
  19. "base"
  20. "cmdliner" {>= "1.1.0"}
  21. "cohttp-async"
  22. "conf-ncurses"
  23. "conf-tzdata"
  24. "core" {>= "v0.15.0"}
  25. "core_bench"
  26. "ctypes"
  27. "ctypes-foreign"
  28. "fmt"
  29. "lambdasoup"
  30. "mdx"
  31. "ocaml-compiler-libs"
  32. "ocaml-print-intf"
  33. "patdiff"
  34. "pcre"
  35. "ppx_jane"
  36. "re"
  37. "sexp_pretty"
  38. "textwrap"
  39. "tls"
  40. "yojson"
  41. "conf-pandoc"
  42. "conf-texlive"
  43. "odoc" {with-doc}
  44. ]
  45. build: [
  46. ["dune" "subst"] {dev}
  47. [
  48. "dune"
  49. "build"
  50. "-p"
  51. name
  52. "-j"
  53. jobs
  54. "--promote-install-files=false"
  55. "@install"
  56. "@runtest" {with-test}
  57. "@doc" {with-doc}
  58. ]
  59. ["dune" "install" "-p" name "--create-install-files" name]
  60. ]
  61. dev-repo: "git+https://github.com/realworldocaml/book.git"
  62. pin-depends: [
  63. [ "async_graphics.0.7.0+dev" "git+https://github.com/avsm/async_graphics.git#update-to-v15" ]
  64. ]
  65. depexts: [
  66. ["texlive-full"] {os-family = "debian"}
  67. ]