From: Ricardo Wurmus <rekado@elephly.net>
To: "Cássio Tavares" <cassio.ufg@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Packaging existing software for Guix
Date: Tue, 29 Mar 2022 17:55:49 +0200 [thread overview]
Message-ID: <875ynw8zra.fsf@elephly.net> (raw)
In-Reply-To: <CAJTCCxPCKNAJi0dQryLHDFz=27UUsUYLmyNEzCacMhbxfUGomA@mail.gmail.com>
Hi,
Cássio Tavares <cassio.ufg@gmail.com> writes:
> 1. If I submit an issue with a package request, does it take long for
> the package to be made available?
It can take quite some time when you don’t have someone to review the
package. You are welcome to send me issue numbers with your patches and
I’ll review them more quickly.
> 2. Can someone with only a very basic understanding of the Scheme (and
> the functional paradigm) package software successfully enough to submit it
> to the Guix project?
Yes. Ignore the language. Most of the package definition is just
data. You can even write a package definition as JSON first and then
have Guix convert it to the Guix DSL.
> 3. Would that be very time-consuming (because my work is in a very
> different area)? Is the learning curve steep?
It depends on the software. If an application follows well-established
conventions it can be trivial to package it. On the other hand, some
software can be nearly impossible to package (e.g. Tensorflow 2).
Nixpkgs is often not a good template, because more often than not they
are cutting corners when it comes to bootstrapping or building from source.
> 4. As far as I could understand, when defining a package from a git
> repository, I have to specify the package version and commit. Does this
> mean that I will forever have to check for new versions and edit the
> package definition to update it?
Yes, just like with any other source code. You can make Guix use a
different source with transformations on the command line, but we try to
keep things up-to-date.
> 5. Is there a relatively simple way to port packages from other distros
> into Guix? Could this be an automated process?
Not from other distros but from upstream repositories; see “guix
import”. If you want a fun project you could work on extending “guix
import” to import from distro archives.
--
Ricardo
next prev parent reply other threads:[~2022-03-29 16:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 14:22 Packaging existing software for Guix Cássio Tavares
2022-03-29 15:55 ` Ricardo Wurmus [this message]
2022-04-04 21:17 ` Cássio Tavares
2022-04-08 3:59 ` raingloom
2022-03-29 16:31 ` Vagrant Cascadian
2022-03-31 22:23 ` Cássio Tavares
2022-04-02 17:00 ` Bird
-- strict thread matches above, loose matches on Subject: below --
2022-04-01 6:26 Liliana Marie Prikler
2022-04-01 13:21 ` Cássio Tavares
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=875ynw8zra.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=cassio.ufg@gmail.com \
--cc=help-guix@gnu.org \
/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.
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).