guix/doc
Ludovic Courtès ce0be5675b
packages: Introduce <content-hash> and use it in <origin>.
* guix/packages.scm (<content-hash>): New record type.
(define-content-hash-constructor, build-content-hash)
(content-hash): New macros.
(print-content-hash): New procedure.
(<origin>): Rename constructor to '%origin'.
[sha256]: Remove field.
[hash]: New field.  Adjust users.
(origin-compatibility-helper, origin): New macros.
(origin-sha256): New deprecated procedure.
(origin->derivation): Adjust accordingly.
* tests/packages.scm ("package-source-derivation, origin, sha512"): New
test.
* guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax
matching.
* tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users.
* tests/derivations.scm: Likewise.
* tests/store.scm: Likewise.
* tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field
with the right length.
* gnu/packages/aspell.scm (aspell-dictionary)
(aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for
proper syntax matching.
* gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'.
* gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'.
* gnu/packages/readline.scm (readline-patch): Likewise.
* gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to
'sha256-bv'.
* guix/import/utils.scm: Hide (gcrypt hash) 'sha256'.
2020-05-22 01:29:39 +02:00
..
images Merge branch 'staging' into core-updates 2019-03-14 16:30:19 +01:00
build.scm doc: Inherit md5.scm fix in custom 'guile-lib' variant. 2020-05-18 15:08:58 +02:00
contributing.texi maint: Add "make check-channel-news". 2020-05-22 00:35:23 +02:00
environment-gdb.scm doc: Add 'guix environment' examples. 2015-06-29 23:08:36 +02:00
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi doc: cookbook: Fix sbcl-ttf-fonts package name. 2020-05-05 20:09:39 +02:00
guix.texi packages: Introduce <content-hash> and use it in <origin>. 2020-05-22 01:29:39 +02:00
htmlxref.cnf doc: Update htmlxref.cnf. 2020-01-12 00:19:10 +01:00
local.mk doc: Ensure guix-daemon is built before creating guix-daemon.1. 2020-04-24 16:24:01 +02:00
package-hello.json doc: Document building and installing from JSON files. 2020-04-16 23:41:52 +02:00
package-hello.scm doc: Use the recommended Scheme format. 2015-09-14 23:10:58 +02:00