mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add python-nose.
* gnu/packages/python.scm (python-nose, python2-nose): New variables.
This commit is contained in:
parent
c15a5c0eac
commit
4435427e6d
1 changed files with 28 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
(define-module (gnu packages python)
|
||||
#:use-module ((guix licenses)
|
||||
#:select (asl2.0 bsd-3 bsd-style cc0 expat x11 x11-style
|
||||
gpl2 gpl2+ lgpl2.1+
|
||||
gpl2 gpl2+ lgpl2.0+ lgpl2.1+
|
||||
psfl public-domain))
|
||||
#:use-module ((guix licenses) #:select (zlib)
|
||||
#:renamer (symbol-prefix-proc 'license:))
|
||||
|
@ -996,6 +996,33 @@ (define-public python-mimeparse
|
|||
(define-public python2-mimeparse
|
||||
(package-with-python2 python-mimeparse))
|
||||
|
||||
(define-public python-nose
|
||||
(package
|
||||
(name "python-nose")
|
||||
(version "1.3.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://pypi.python.org/packages/source/n/nose/nose-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"00qymfgwg4iam4xi0w9bnv7lcb3fypq1hzfafzgs1rfmwaj67g3n"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: test suite fails
|
||||
(home-page "http://readthedocs.org/docs/nose/")
|
||||
(synopsis "Python testing library")
|
||||
(description
|
||||
"Nose extends the unittest library to make testing easier.")
|
||||
(license lgpl2.0+)))
|
||||
|
||||
(define-public python2-nose
|
||||
(package-with-python2 python-nose))
|
||||
|
||||
(define-public behave
|
||||
(package
|
||||
(name "behave")
|
||||
|
|
Loading…
Reference in a new issue