unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Cc: Julien Lepiller <julien@lepiller.eu>, <pukkamustard@posteo.net>
Subject: Time for ocaml-xzy.scm and reorganizing OCaml packages?
Date: Wed, 11 Jan 2023 20:05:58 +0100	[thread overview]
Message-ID: <861qo051t5.fsf@gmail.com> (raw)

Hi,

Maybe it is time for ocaml-xzy.scm. :-)

Currently, the file gnu/packages/ocaml.scm contains 315 define-public.
Maybe, it would make sense to have:

 + ocaml.scm for compiler and essentials (as ocaml-findlib or dune)
 + ocaml-xyz.scm for ocaml-<foo> packages
 + ocaml-apps.scm for standalone program written in OCaml as unison,
   ocamlmod, etc
 + ocaml-legacy.scm for the old ocaml4.0x things

WDYT?

Well, with the question of the new ocaml5 thing. :-)

Trying to package some OCaml, I note that the OCaml package named
camlzip is not prefixed with ’ocaml-’ although it can only be used as a
library, IIUC.

--8<---------------cut here---------------start------------->8---
$ tree $(guix build camlzip)
/gnu/store/r7p7azlfwrjs5c6kbwb50pvlqxi4k776-camlzip-1.11
├── bin
├── lib
│   └── ocaml
│       └── site-lib
│           ├── camlzip
│           │   └── META
│           └── zip
│               ├── dllcamlzip.so
│               ├── gzip.cmi
│               ├── gzip.cmt
│               ├── gzip.cmti
│               ├── gzip.cmx
│               ├── gzip.mli
│               ├── libcamlzip.a
│               ├── META
│               ├── zip.a
│               ├── zip.cma
│               ├── zip.cmi
│               ├── zip.cmt
│               ├── zip.cmti
│               ├── zip.cmx
│               ├── zip.cmxa
│               ├── zip.cmxs
│               ├── zip.mli
│               ├── zlib.cmi
│               ├── zlib.cmt
│               ├── zlib.cmti
│               ├── zlib.cmx
│               └── zlib.mli
└── share
    └── doc
        └── camlzip-1.11
            └── LICENSE

9 directories, 24 files
--8<---------------cut here---------------end--------------->8---

Moreover, “guix import opam -r camlzip” returns,

        (define-public ocaml-camlzip
          (package
            (name "ocaml-camlzip")

Well, therefore I would be expecting ocaml-camlzip to be consistent with
the Guix naming convention.  And with this large gnu/packages/ocaml.scm
file containing all the OCaml related stuff, I am guessing that it’s
time to reorganize a bit.  WDYT?

Cheers,
simon
Message-ID: <867cxs51um.fsf@gmail.com>

             reply	other threads:[~2023-01-11 19:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11 19:05 Simon Tournier [this message]
2023-01-11 20:20 ` Time for ocaml-xzy.scm and reorganizing OCaml packages? Julien Lepiller
2023-01-17 22:14   ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861qo051t5.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=julien@lepiller.eu \
    --cc=pukkamustard@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).