mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: python-xcffib: Use 'modify-phases' syntax.
* gnu/packages/python.scm (python-xcffib)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
cff0ccf9dc
commit
c8cd850c87
1 changed files with 9 additions and 9 deletions
|
@ -4230,15 +4230,15 @@ (define-public python-xcffib
|
|||
("python-six" ,python-six)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(alist-cons-after
|
||||
'install 'install-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((doc (string-append (assoc-ref outputs "out") "/share"
|
||||
"/doc/" ,name "-" ,version)))
|
||||
(mkdir-p doc)
|
||||
(copy-file "README.md"
|
||||
(string-append doc "/README.md"))))
|
||||
%standard-phases)))
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((doc (string-append (assoc-ref outputs "out") "/share"
|
||||
"/doc/" ,name "-" ,version)))
|
||||
(mkdir-p doc)
|
||||
(copy-file "README.md"
|
||||
(string-append doc "/README.md"))
|
||||
#t))))))
|
||||
(home-page "https://github.com/tych0/xcffib")
|
||||
(synopsis "XCB Python bindings")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue