mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: gnunet-scheme: Make scheme-gnunet.pdf reproducible.
* gnu/packages/gnunet.scm (gnunet-scheme)[arguments]<#:phases>{reproducible-timestamp}: New phase. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
77b37fcb58
commit
85aa25cd6a
1 changed files with 11 additions and 0 deletions
|
@ -33,6 +33,7 @@ (define-module (gnu packages gnunet)
|
|||
#:use-module (gnu packages file)
|
||||
#:use-module (gnu packages aidc)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages crypto)
|
||||
#:use-module (gnu packages curl)
|
||||
|
@ -363,6 +364,15 @@ (define-public gnunet-scheme
|
|||
(base32
|
||||
"0kvqbqijfyp3fhsqjyzwd7b3cm5khwv557wq196mv6rx47aaivgd"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; For reproducibility, do not insert real timestamps in the PDF.
|
||||
(add-after 'unpack 'reproducible-timestamp
|
||||
(lambda _
|
||||
(substitute* "Makefile.am"
|
||||
(("\\$\\(TEXMACS_CONVERT\\)")
|
||||
"faketime -m -f '1970-01-01 00:00:00' $(TEXMACS_CONVERT)")))))))
|
||||
(inputs (list guile-3.0)) ;for pkg-config
|
||||
(propagated-inputs (list guile-bytestructures guile-gcrypt guile-pfds
|
||||
guile-fibers-1.1))
|
||||
|
@ -373,6 +383,7 @@ (define-public gnunet-scheme
|
|||
guile-gcrypt
|
||||
guile-pfds
|
||||
guile-fibers-1.1
|
||||
libfaketime
|
||||
automake
|
||||
autoconf
|
||||
pkg-config
|
||||
|
|
Loading…
Reference in a new issue