gnu: reprotest: Use G-expression.

* gnu/packages/diffoscope.scm (reprotest)[arguments]: Use G-expression.

Change-Id: I35d4673e39a449169f5a66265e486d8e45268425
This commit is contained in:
Zheng Junjie 2024-09-09 21:03:25 +08:00
parent ed6ca2c413
commit 694cd39fa1
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -279,20 +279,20 @@ (define-public reprotest
xxd))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((mandir1 (string-append
(assoc-ref outputs "out") "/share/man/man1"))
(docdir (string-append
(assoc-ref outputs "out") "/share/doc/" ,name "-" ,version)))
(invoke "make" "-C" "doc")
(mkdir-p mandir1)
(install-file "doc/reprotest.1" mandir1)
(mkdir-p docdir)
(install-file "./README.rst" docdir)
(install-file "./README-dev.rst" docdir)))))))
(list #:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-doc
(lambda _
(let* ((mandir1 (string-append
#$output "/share/man/man1"))
(docdir (string-append
#$output "/share/doc/" #$name "-" #$version)))
(invoke "make" "-C" "doc")
(mkdir-p mandir1)
(install-file "doc/reprotest.1" mandir1)
(mkdir-p docdir)
(install-file "./README.rst" docdir)
(install-file "./README-dev.rst" docdir)))))))
(home-page "https://salsa.debian.org/reproducible-builds/reprotest")
(synopsis "Build software and check it for reproducibility")
(description "Reprotest builds the same source code twice in different