all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Gottfried <gottfried@posteo.de>
Cc: help-guix@gnu.org
Subject: Re: installing a package not from GNU
Date: Wed, 23 Feb 2022 23:36:02 +0100	[thread overview]
Message-ID: <87tucp9obw.fsf@elephly.net> (raw)
In-Reply-To: <ec9b0dce-272e-276e-5dbf-44bf1ef6764a@posteo.de>


Hi Gottfried,

> I wanted to install a package "gtkhash" which I could not find in GNU
> packages.
> How can I install it?
> After downloading it and trying to install it, it said: unknown package
>
> guix install gtkhash-1.4
> guix install: Fehler: gtkhash-1.4: Unbekanntes Paket

Guix only knows of packages for which there is a package definition.
There is no package definition for gtkhash.

Guix unfortunately cannot just take any tarball and build it.

The good news is that writing a package definition (and optionally
adding it to Guix) can be straight forward.  This is the build system
file:

   https://github.com/tristanheaven/gtkhash/blob/master/meson.build

There we see that it needs a bunch of things (like nettle, blake2, zlib,
mbedtls, openssl, etc) for which we should have packages.  Packaging it
may be a little tricky because of the many dependencies, but it looks
doable.  We could do this together if you want.

Another thing I felt the need to clarify: Guix has thousands of packages
that are not GNU packages.  I think you meant that there is no package
definition for gtkhash in gnu/packages/*.scm, which is correct.

-- 
Ricardo


  reply	other threads:[~2022-02-23 23:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23 18:52 installing a package not from GNU Gottfried
2022-02-23 22:36 ` Ricardo Wurmus [this message]
2022-02-24 17:09   ` Gottfried
2022-03-02 17:52 ` Gary Johnson

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

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

  git send-email \
    --in-reply-to=87tucp9obw.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=gottfried@posteo.de \
    --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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.