* Time for ocaml-xzy.scm and reorganizing OCaml packages?
@ 2023-01-11 19:05 Simon Tournier
2023-01-11 20:20 ` Julien Lepiller
0 siblings, 1 reply; 3+ messages in thread
From: Simon Tournier @ 2023-01-11 19:05 UTC (permalink / raw)
To: Guix Devel; +Cc: Julien Lepiller, pukkamustard
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Time for ocaml-xzy.scm and reorganizing OCaml packages?
2023-01-11 19:05 Time for ocaml-xzy.scm and reorganizing OCaml packages? Simon Tournier
@ 2023-01-11 20:20 ` Julien Lepiller
2023-01-17 22:14 ` Simon Tournier
0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2023-01-11 20:20 UTC (permalink / raw)
To: Simon Tournier; +Cc: Guix Devel, pukkamustard
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Time for ocaml-xzy.scm and reorganizing OCaml packages?
2023-01-11 20:20 ` Julien Lepiller
@ 2023-01-17 22:14 ` Simon Tournier
0 siblings, 0 replies; 3+ messages in thread
From: Simon Tournier @ 2023-01-17 22:14 UTC (permalink / raw)
To: Julien Lepiller; +Cc: Guix Devel, pukkamustard
Hi Julien,
On Wed, 11 Jan 2023 at 21:20, Julien Lepiller <julien@lepiller.eu> wrote:
> Sounds good to me. Are you planning to work on a patch?
Yes, I am planning to work on it. :-)
But maybe not in one go. Since it is a boring task, I plan to do
something similar as I did when “janitoring“ R packages from
biostatistics & co. to bioconductor.
Cheers,
simon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-18 0:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 19:05 Time for ocaml-xzy.scm and reorganizing OCaml packages? Simon Tournier
2023-01-11 20:20 ` Julien Lepiller
2023-01-17 22:14 ` Simon Tournier
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).