all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix hash of source from git repository.
@ 2017-02-21 21:19 Dmitry Nikolaev
  2017-02-21 21:25 ` Catonano
  2017-02-21 22:17 ` Leo Famulari
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Nikolaev @ 2017-02-21 21:19 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

When writing package definition, what if I download sources from git
repository? For example:

(define-public libwebsockets
  (package
    (name "libwebsockets")
    (version "1.3")
    (source (origin
              ;; The project does not publish tarballs, so we have to take
              ;; things from Git.
              (method git-fetch)
              (uri (git-reference
                    (url "git://git.libwebsockets.org/libwebsockets")
                    (commit (string-append "v" version
                                           "-chrome37-firefox30"))))
              (sha256
               (base32
                "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
              (file-name (string-append name "-" version))))
...

How do I calculate this 12fqh2d...?

Dmitry Nikolaev

[-- Attachment #2: Type: text/html, Size: 1269 bytes --]

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

end of thread, other threads:[~2017-03-06 10:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 21:19 guix hash of source from git repository Dmitry Nikolaev
2017-02-21 21:25 ` Catonano
2017-02-21 21:56   ` ng0
2017-02-21 22:21     ` Leo Famulari
2017-03-06 10:55   ` Ludovic Courtès
2017-02-21 22:17 ` Leo Famulari
2017-02-22  8:23   ` Catonano

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.