aboutsummaryrefslogtreecommitdiff
path: root/guix/base64.scm
Commit message (Collapse)AuthorAge
* base64: Do not use (rnrs).Ludovic Courtès2019-12-15
| | | | | | | | * guix/base64.scm: Remove #:use-module clauses for (rnrs) and (srfi srfi-13). Add other #:use-module clauses. (fxbit-field): Define as an alias for 'bit-field. (fx=?, fx+, mod): New aliases. (assert): New macro.
* base64: Turn into a regular Guile module.Ludovic Courtès2017-05-25
| | | | * guix/base64.scm: Replace 'library' form with 'define-module'.
* base64: Restore original license header.Christopher Allan Webber2016-08-27
| | | | | | | | When incorporating a copyleft licensed program with a lax licensed program, it is correct to preserve the original license notice. See also: https://www.softwarefreedom.org/resources/2007/gpl-non-gpl-collaboration.html * guix/base64.scm: Restored original license header.
* base64: Inline arithmetic operations.Ludovic Courtès2015-01-09
| | | | | | * guix/base64.scm (define-alias): New macro. (fxbit-field, fxarithmetic-shift, fxarithmetic-shift-left, fxand, fxior, fxxor): New aliases.
* substitute-binary: Support the Signature field of a narinfo file.Nikita Karetnikov2014-03-30
* guix/scripts/substitute-binary.scm (<narinfo>): Add the 'signature' and 'contents' fields. (narinfo-signature->canonical-sexp): New function. (narinfo-maker): Add the 'signature' argument and use it. (assert-valid-signature): New function. (read-narinfo): Support the Signature field. (write-narinfo): Use 'narinfo-contents'. (%allow-unauthenticated-substitutes?): New variable. * guix/base64.scm, tests/base64.scm, tests/substitute-binary.scm: New files. * Makefile.am (SCM_TESTS): Add tests/base64.scm and tests/substitute-binary.scm. (MODULES): Add guix/base64.scm. * test-env.in: Set 'GUIX_ALLOW_UNAUTHENTICATED_SUBSTITUTES'.