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
..
2020-03-22 16:49:47 +01:00
2020-05-22 01:29:39 +02:00
2020-05-07 10:06:15 +02:00
2020-05-04 09:56:12 +02:00
2016-04-03 14:19:09 +02:00
2020-04-27 23:29:40 +02:00
2020-05-22 01:29:39 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-20 08:30:35 -04:00
2020-04-27 23:29:40 +02:00
2020-05-16 00:34:41 +02:00
2020-05-22 01:29:39 +02:00
2020-04-04 18:52:36 +02:00
2020-04-11 00:32:41 +02:00
2020-05-11 23:30:55 +02:00
2020-05-22 00:35:24 +02:00
2020-05-14 17:21:27 +02:00
2020-05-14 17:21:27 +02:00
2020-05-11 23:30:54 +02:00
2020-03-25 16:02:53 +01:00
2020-03-21 22:16:02 +01:00
2019-10-30 18:15:54 -04:00
2020-05-04 09:56:13 +02:00
2020-05-22 01:29:39 +02:00
2020-04-20 10:57:49 +02:00
2020-04-26 22:49:48 +02:00
2020-04-27 23:29:40 +02:00
2020-05-04 09:56:12 +02:00
2019-06-14 22:09:38 +02:00
2020-05-22 01:29:39 +02:00
2020-05-14 00:48:12 +02:00
2020-01-17 14:22:08 +01:00
2020-03-25 16:02:53 +01:00
2019-04-16 17:30:22 +02:00