unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* calculate hashes for a new packages
@ 2021-03-10 19:14 Zelphir Kaltstahl
  2021-03-10 19:21 ` Leo Famulari
  2021-03-10 21:11 ` divoplade
  0 siblings, 2 replies; 8+ messages in thread
From: Zelphir Kaltstahl @ 2021-03-10 19:14 UTC (permalink / raw)
  To: help-guix

Hello Guix Users!

How does one calculate the hash for a package one wants to add to GNU Guix?

I know 2 ways, giving me different results. One is for the repository folder and
one is for the tarball:

~~~~
guix hash --exclude-vcs --recursive .
guix hash PACKAGE-VERSION-tar.gz  # a tarball created by guile-hall
~~~~

Which one is the one I should be using for the source -> origin -> sha256 ->
base32 value in a GNU Guix package definition?

Regards,
Zelphir

-- 
repositories: https://notabug.org/ZelphirKaltstahl


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-19 13:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 19:14 calculate hashes for a new packages Zelphir Kaltstahl
2021-03-10 19:21 ` Leo Famulari
2021-03-10 20:19   ` zimoun
2021-03-10 21:00     ` Zelphir Kaltstahl
2021-03-10 21:47       ` zimoun
2021-03-19 13:09       ` Joshua Branson
2021-03-10 20:22   ` Zelphir Kaltstahl
2021-03-10 21:11 ` divoplade

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).