Skip to content
Snippets Groups Projects
Unverified Commit 289b20ef authored by Holger Peters's avatar Holger Peters Committed by Christopher Baines
Browse files

doc: Document hg-fetch.


* doc/guix.texi (origin Reference): Add documentation for hg-fetch.

Signed-off-by: default avatarChristopher Baines <mail@cbaines.net>
parent 521d33cd
No related branches found
No related tags found
No related merge requests found
...@@ -6835,6 +6835,18 @@ commit: ...@@ -6835,6 +6835,18 @@ commit:
@end lisp @end lisp
@end deftp @end deftp
   
For Mercurial repositories, the module @code{(guix hg-download)} defines
the @code{hg-fetch} origin method and @code{hg-reference} data type for
support of the Mercurial version control system.
@deffn {Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @
[name]
Return a fixed-output derivation that fetches @var{ref}, a
@code{<hg-reference>} object. The output is expected to have recursive
hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as
the file name, or a generic name if @code{#false}.
@end deffn
@node Defining Package Variants @node Defining Package Variants
@section Defining Package Variants @section Defining Package Variants
   
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment