diff options
author | Andreas Enge <andreas@enge.fr> | 2015-04-26 20:08:49 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2015-04-26 20:08:49 +0200 |
commit | 4ac0d6444d4edf38edc7c07331cf76deb4a506bc (patch) | |
tree | 5264c9c87172b8f0015823b0ee891d3672ac291a /gnu/packages/python.scm | |
parent | d074e2f99130782e8eb7fa44c79c01db6c86f77d (diff) | |
parent | 7bde30e18de3e8cd7e4156ea5bb0d9439b6c12d7 (diff) |
Merge branch 'master' into core-updates.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r-- | gnu/packages/python.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d64f6331d9c..050c0de402b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3508,3 +3508,39 @@ It is written entirely in Python.") (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)) |