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

Le Wed, 11 Jan 2023 20:05:58 +0100,
Simon Tournier <zimon.toutoune@gmail.com> a écrit :

> 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?

Sounds good to me. Are you planning to work on a patch?

> 
> 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?

We can rename camlzip :)

> 
> Cheers,
> simon




  reply	other threads:[~2023-01-11 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-11 19:05 Time for ocaml-xzy.scm and reorganizing OCaml packages? Simon Tournier
2023-01-11 20:20 ` Julien Lepiller [this message]
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=20230111212027.163f1ea5@sybil.lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=guix-devel@gnu.org \
    --cc=pukkamustard@posteo.net \
    --cc=zimon.toutoune@gmail.com \
    /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).