gnu: trydiffoscope: Update Style.

* gnu/packages/diffoscope.scm (reprotest): Reindent.
[arguments]: Use G-expression. Remove trailing #t.

Change-Id: I5d77472405adcca35eca7bed9663f30f1f8ed18e
This commit is contained in:
Zheng Junjie 2024-09-09 21:08:15 +08:00
parent 2305b94c2e
commit cc2619a7bd
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -302,33 +302,33 @@ (define-public reprotest
(license (list license:gpl3+ license:gpl2+)))) (license (list license:gpl3+ license:gpl2+))))
(define-public trydiffoscope (define-public trydiffoscope
(package (package
(name "trydiffoscope") (name "trydiffoscope")
(version "67.0.8") (version "67.0.8")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://salsa.debian.org/reproducible-builds/trydiffoscope.git") (url "https://salsa.debian.org/reproducible-builds/trydiffoscope.git")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0k698g4fws63rnav4pvfsf1hfds867xan59mmv5zw71r58lm6cxb")))) "0k698g4fws63rnav4pvfsf1hfds867xan59mmv5zw71r58lm6cxb"))))
(arguments (arguments
`(#:phases (list #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'install 'install-doc (add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(let* ((share (string-append (assoc-ref outputs "out") "/share/"))) (let* ((share (string-append #$output "/share/")))
(mkdir-p (string-append share "/man/man1/" )) (mkdir-p (string-append share "/man/man1/"))
(invoke "rst2man.py" (invoke "rst2man.py" "trydiffoscope.1.rst"
"trydiffoscope.1.rst" (string-append share "/man/man1/trydiffoscope.1"))
(string-append share "/man/man1/trydiffoscope.1")) (mkdir-p (string-append
(mkdir-p (string-append share "/doc/" ,name "-" ,version)) share "/doc/" #$name "-" #$version))
(install-file "./README.rst" (install-file
(string-append share "/doc/" ,name "-" ,version))) "./README.rst"
#t))))) (string-append share "/doc/" #$name "-" #$version))))))))
(propagated-inputs (propagated-inputs
(list python-requests)) (list python-requests))
(native-inputs (native-inputs