unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Pierre-Henry F." <contact@phfrohring.com>
To: "help-guix\\@gnu.org" <help-guix@gnu.org>
Subject: sha256 base32 value of a git checkout
Date: Sun, 17 May 2020 12:00:38 +0000	[thread overview]
Message-ID: <XDUibtHRH-2VhBzb_Uq9I6oKlaVJ-2MxpdX2V9gIMgwRW8b4K6uMhVZ9uPNGY6ejJ2tiLGQ6t0Do7co6XoByW-Q3HongvCHfKzDGGh4GIaY=@phfrohring.com> (raw)

Hello,

I'm trying my hand on defining a package.
I have a source defined as in:

(origin

  (method git-fetch)

  (uri "some/git/dir")

  (commit "acommit")

  (file-name "a_filename")

  (sha256 (base32 "XXX")))

when origin resolves to an archive, guix download $url gives the value of "XXX"
but when using git-fetch... how to get the value of "XXX" ?

Thanks,
phf

             reply	other threads:[~2020-05-17 12:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 12:00 Pierre-Henry F. [this message]
2020-05-17 12:14 ` sha256 base32 value of a git checkout Reza Alizadeh Majd
2020-05-17 15:08   ` Pierre-Henry F.

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='XDUibtHRH-2VhBzb_Uq9I6oKlaVJ-2MxpdX2V9gIMgwRW8b4K6uMhVZ9uPNGY6ejJ2tiLGQ6t0Do7co6XoByW-Q3HongvCHfKzDGGh4GIaY=@phfrohring.com' \
    --to=contact@phfrohring.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).