mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
2305b94c2e
commit
cc2619a7bd
1 changed files with 26 additions and 26 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue