mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: magic-wormhole-transit-relay: Simplify package.
* gnu/packages/magic-wormhole.scm (magic-wormhole-transit-relay) Use G-expressions [build-system]: Swap to pyproject-build-system. [arguments] <#:phases>: Remove traling #t from lambda. [native-inputs]: Add python-pytest. Change-Id: I1d72d48768016067d1a6a24e47eb9144b36d38e4
This commit is contained in:
parent
9972487417
commit
70386806e1
1 changed files with 8 additions and 8 deletions
|
@ -71,20 +71,20 @@ (define-public magic-wormhole-transit-relay
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ppsx2s1ysikns1h053x67z2zmficbn3y3kf52bzzslhd2s02j6b"))))
|
"0ppsx2s1ysikns1h053x67z2zmficbn3y3kf52bzzslhd2s02j6b"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'install-docs
|
(add-after 'install 'install-docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out #$output)
|
||||||
(docs (string-append out "/share/doc/magic-wormhole-transit-relay")))
|
(docs (string-append out "/share/doc/magic-wormhole-transit-relay")))
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file file docs))
|
(install-file file docs))
|
||||||
(find-files "docs/"))
|
(find-files "docs/"))))))))
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-mock python-pyflakes python-tox))
|
(list python-mock python-pyflakes python-pytest python-tox))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-twisted))
|
(list python-twisted))
|
||||||
(home-page
|
(home-page
|
||||||
|
|
Loading…
Reference in a new issue