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
|
@ -4230,15 +4230,15 @@ a front-end for C compilers or analysis tools.")
|
||||||
("python-six" ,python-six)))
|
("python-six" ,python-six)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(alist-cons-after
|
(modify-phases %standard-phases
|
||||||
'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((doc (string-append (assoc-ref outputs "out") "/share"
|
(let ((doc (string-append (assoc-ref outputs "out") "/share"
|
||||||
"/doc/" ,name "-" ,version)))
|
"/doc/" ,name "-" ,version)))
|
||||||
(mkdir-p doc)
|
(mkdir-p doc)
|
||||||
(copy-file "README.md"
|
(copy-file "README.md"
|
||||||
(string-append doc "/README.md"))))
|
(string-append doc "/README.md"))
|
||||||
%standard-phases)))
|
#t))))))
|
||||||
(home-page "https://github.com/tych0/xcffib")
|
(home-page "https://github.com/tych0/xcffib")
|
||||||
(synopsis "XCB Python bindings")
|
(synopsis "XCB Python bindings")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue