[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help making a GNU Guix package for pure GNU Guile library
From: |
Ricardo Wurmus |
Subject: |
Re: Help making a GNU Guix package for pure GNU Guile library |
Date: |
Sat, 30 Jan 2021 22:15:20 +0100 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Hi Zelphir,
> For some time now I wanted to be able to make Guix package of some of my
> Guile projects or at least understand and know how to do that, write a
> guide for it and so on, to be able to do it whenever I need it and also
> to be able to contribute better to the Guile community and enable others
> to read how to create Guile packages and contribute. People would not
> have to clone any repo from me directly, but could use Guix to install
> stuff.
There is a packaging tutorial in the Guix Cookbook:
https://guix.gnu.org/cookbook/en/html_node/Packaging.html
> A few weeks ago I asked in the Guile IRC channel about how to approach
> learning the required things. There people recommended me to look at
> guile-haunt as an example, because it is also a pure Guile program,
> which is packaged for Guix already. So that i what I started doing.
>
> There is a whole jungle of stuff, that I do not yet understand in depth.
> Many of those things are GNU Autotools / GNU Automake or GNU M4
> related. […]
If all you have are Guile modules and all you want is to package it for
Guix then you really don’t need to bother with Autotools. Use the
“guile-build-system”. It can be as simple as the “guile-srfi-89”
package in (gnu packages guile-xyz).
--
Ricardo