(lang dune 3.5)

(generate_opam_files true)

(formatting
 (enabled_for dune))

(name nottui)

(source
 (github flador20/nottui))

(license MIT)

(authors "Frédéric Bour" "Eli Dowling")

(maintainers "fred@tarides.com" "eli.jambu@gmail.com")

(package
 (name nottui)
 (synopsis "UI toolkit for the terminal built on top of Notty and Lwd")
 (documentation "https://let-def.github.io/lwd/doc")
 (depends
  (lwd
   (= :version))
  (notty
   (>= 0.2))
  (logs
   (>= 0.8.0))
  (signal
   (>= 0.4.0))
  (cbor :with-test) ; for the examples
  (containers :with-test)))

(package
 (name nottui-pretty)
 (synopsis "A pretty-printer based on PPrint rendering UIs")
 (documentation "https://let-def.github.io/lwd/doc")
 (depends
  (nottui
   (= :version))
  (notty
   (>= 0.2))))

(package
 (name nottui-lwt)
 (synopsis "Run Nottui UIs in Lwt")
 (documentation "https://let-def.github.io/lwd/doc")
 (depends
  lwt
  (nottui
   (= :version))
  (notty
   (>= 0.2))))

(package
 (name nottui_picos)
 (synopsis "Run Nottui UIs using picos")
 (documentation "https://let-def.github.io/lwd/doc")
 (depends
  (picos
   (>= 0.6.0))
  (picos_io
   (>= 0.6.0))
  (picos_std
   (>= 0.6.0))
  (logs
   (>= 0.8.0))
  (lwd_picos
   (= :version))
  (nottui
   (= :version))
  (notty
   (>= 0.2))))
