|
From: | Catonano |
Subject: | Re: guix hash of source from git repository. |
Date: | Tue, 21 Feb 2017 22:25:35 +0100 |
When writing package definition, what if I download sources from git repository? For example:How do I calculate this 12fqh2d...?
(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
"12fqh2d2098mgf0ls19p9lzibpsqhv 7mc5rn1yvrbfnazmcr40g4"))
(file-name (string-append name "-" version))))
...Dmitry Nikolaev
[Prev in Thread] | Current Thread | [Next in Thread] |