(lang dune 3.0)
; https://dune.readthedocs.io/en/latest/opam.html#generating-opam-files

(name seppo)
(version 0.5)

(subst disabled)
(implicit_transitive_deps true)
(generate_opam_files true)
(formatting (enabled_for dune))

(license GPL-3.0-only)
(maintainers "Marcus Rohrmoser <work@mro.name>")
(authors "The #Seppo programmers")

(homepage Seppo.Social)
(bug_reports Seppo.Social/issues)
(source (uri git+ssh://codeberg.org/seppo/seppo.git))

(package
 (name seppo)
 (synopsis "Personal Social Web")
 (description "#Seppo empowers you to publish short texts and images and to network in the
Social Web.

By renting commodity webspace and putting a single file in place. Without being
subject to terms and conditions. And without having to fret about small print
or tech lore, but have a life.")
 (tags (Social Web Fediverse ActivityPub CGI RFC3875 RFC4287 RFC4685 RFC5005 RFC7033 RFC7565 RFC8890 RFC9116 XSLT))
 (depends
   camlp-streams
   cohttp-lwt-unix
   crunch
   decoders-ezjsonm
   lambdasoup
   lwt_ppx
   markup
   (mirage-crypto-rng (< 1.0))
   (optint (>= 0.3.0))
   safepass
   sqlite3
   timedesc
   tls-lwt
   tyre
   uri
   uucp
   uuidm
   uunf
   uutf
   x509
   xmlm
  (alcotest :with-test)
  (cstruct-unix :with-test)
  (decoders-ezxmlm :with-test)
  (markup :with-test)
  ocaml
;  (ocaml-lsp-server (= 1.7.0) :with-doc) https://github.com/ocaml/ocaml-lsp/issues/1069#issuecomment-2376511874
;  (ocp-indent :with-doc)
  (odig :with-doc)
  (odoc :with-doc)
  (sherlodoc :with-doc)
  (utop :with-test)
  (yojson :with-test)
  dune
  lwt_ppx
))

(package
 (name apchk)
 (synopsis "Webfinger & ActivityPub checker")
 (description "checker cgi to self-host without a hassle.")
 (tags (Social Web "#Fediverse" ActivityPub RFC7033 RFC3875 Checker))
 (authors "The #Seppo programmers")
 (depends
  dune
  (crunch :with-doc)
  (ocp-indent :with-doc)
 )
)

(package
 (name as2_vocab)
 (synopsis "ActityStreams 2.0 Vocabulary")
 (description "...")
 (tags (Social Web "#Fediverse" ActivityStreams))
 (authors "The #Seppo programmers")
 (depends
  dune
  (ocp-indent :with-doc)
 )
)
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
