mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add python-waf.
* gnu/packages/python.scm (python-waf, python2-waf): New variables.
This commit is contained in:
parent
360ebb1490
commit
45ca81c20d
1 changed files with 36 additions and 0 deletions
|
@ -3508,3 +3508,39 @@ (define-public python-singledispatch
|
|||
|
||||
(define-public python2-singledispatch
|
||||
(package-with-python2 python-singledispatch))
|
||||
|
||||
(define-public python-waf
|
||||
(package
|
||||
(name "python-waf")
|
||||
(version "1.8.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://waf.io/"
|
||||
"waf-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0b5q307fgn6a5d8yjia2d1l4bk1q3ilvc0w8k4isfrrx2gbcw8wn"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(zero? (begin
|
||||
(system* "python" "waf-light" "configure")
|
||||
(system* "python" "waf-light" "build")))))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(zero? (system* "python" "waf" "--version"))))
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(copy-file "waf" %output))))))
|
||||
(home-page "https://waf.io/")
|
||||
(synopsis "Python-based build system")
|
||||
(description
|
||||
"Waf is a Python-based framework for configuring, compiling and installing
|
||||
applications.")
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public python2-waf
|
||||
(package-with-python2 python-waf))
|
||||
|
|
Loading…
Reference in a new issue