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-01-31 23:37:13 -05:00
2019-08-28 00:27:14 +02:00
2014-03-30 12:02:10 +02:00
2019-11-26 00:16:35 +01:00
2019-06-14 21:57:18 +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
2019-10-15 10:21:41 +02:00
2020-01-15 18:40:43 +01:00
2016-04-03 14:19:09 +02:00
2020-01-16 23:14:05 +01:00
2020-04-27 23:29:40 +02:00
2019-10-23 16:40:17 +02:00
2019-10-23 16:40:17 +02:00
2018-11-12 23:37:13 +01: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-01-16 23:14:05 +01: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
2019-12-27 13:52:49 +01:00
2019-06-27 23:33:48 +02:00
2020-05-22 01:29:39 +02:00
2019-05-18 12:10:15 +02:00
2019-12-12 17:56:58 +01:00
2020-04-04 18:52:36 +02:00
2020-04-11 00:32:41 +02:00
2019-10-16 22:53:40 +02:00
2017-08-20 20:55:45 +08:00
2019-10-03 23:48:59 +02:00
2019-11-22 15:07:58 +01:00
2019-04-10 17:09:47 +02:00
2020-05-11 23:30:55 +02:00
2020-05-22 00:35:24 +02:00
2019-12-08 23:14:03 +01:00
2019-05-18 12:23:31 +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
2019-06-14 21:57:39 +02:00
2020-03-25 16:02:53 +01:00
2020-01-17 17:12:44 +01:00
2019-06-20 14:07:01 +02:00
2019-12-11 12:13:03 +01:00
2020-03-21 22:16:02 +01:00
2020-01-17 14:22:07 +01:00
2020-01-16 23:14:05 +01:00
2016-04-03 14:19:09 +02:00
2019-12-12 17:56:57 +01:00
2019-10-30 18:15:54 -04:00
2020-01-17 14:22:07 +01:00
2020-05-04 09:56:13 +02:00
2019-12-26 12:29:44 +01:00
2020-05-22 01:29:39 +02:00
2020-04-20 10:57:49 +02:00
2019-12-10 10:49:42 +01:00
2020-04-26 22:49:48 +02:00
2020-01-16 18:30:57 +01:00
2020-04-27 23:29:40 +02:00
2020-01-16 18:30:57 +01:00
2020-05-04 09:56:12 +02:00
2019-03-17 22:55:01 +01:00
2019-03-24 00:13:53 +01:00
2019-06-14 22:09:38 +02:00
2019-07-26 19:19:49 +02:00
2018-11-12 23:37:13 +01:00
2019-04-10 17:09:47 +02:00
2020-05-22 01:29:39 +02:00
2019-11-27 00:03:03 +01:00
2020-02-27 23:29:30 +01: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-06-14 21:57:39 +02:00
2019-06-20 14:07:01 +02:00
2019-05-07 12:18:44 +02:00
2019-04-16 17:30:22 +02:00