mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add python-lit, python2-lit.
* gnu/packages/python.scm (python-lit, python2-lit): New variables. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
d15e2ef05a
commit
243db8245e
1 changed files with 28 additions and 0 deletions
|
@ -10324,3 +10324,31 @@ (define-public python2-cachecontrol
|
|||
(native-inputs
|
||||
`(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs base))))))
|
||||
|
||||
(define-public python-lit
|
||||
(package
|
||||
(name "python-lit")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "lit" version))
|
||||
(sha256
|
||||
(base32
|
||||
"135m2b9cwih85g66rjggavck328z7lj37srgpq3jxszbg0g2b91y"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "http://llvm.org/")
|
||||
(synopsis "LLVM Software Testing Tool")
|
||||
(description "@code{lit} is a portable tool for executing LLVM and Clang
|
||||
style test suites, summarizing their results, and providing indication of
|
||||
failures.")
|
||||
(license license:ncsa)
|
||||
(properties `((python2-variant . ,(delay python2-lit))))))
|
||||
|
||||
(define-public python2-lit
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-lit))))
|
||||
(package
|
||||
(inherit base)
|
||||
(native-inputs
|
||||
`(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs base))))))
|
||||
|
|
Loading…
Reference in a new issue