gnu: Add python-robotframework-stacktrace.

* gnu/packages/python-xyz.scm (python-robotframework-stacktrace): New variable.
This commit is contained in:
Maxim Cournoyer 2021-12-03 15:32:59 -05:00
parent 2194451544
commit 33f80689a9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -4511,6 +4511,35 @@ (define-public python-robotframework-lint
utility, a static analysis tool (linter) for Robot Framework source files.")
(license license:asl2.0))))
(define-public python-robotframework-stacktrace
(package
(name "python-robotframework-stacktrace")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "robotframework-stacktrace" version))
(sha256
(base32 "19gnwr7da1zz9clhwsmvqfjf02d195i61lzpq4253dcsgrpb6v79"))))
(build-system python-build-system)
(arguments
;; The test suite fails (see:
;; https://github.com/MarketSquare/robotframework-stacktrace/issues/4).
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(with-directory-excursion "tests"
(invoke "python" "-m" "robot" "."))))))))
(propagated-inputs (list python-robotframework))
(home-page "https://github.com/MarketSquare/robotframework-stacktrace")
(synopsis "Robot Framework listener to print a stack trace on error")
(description "StackTrace is a Robot Framework listener that prints a stack
trace directly to the terminal to ease debugging.")
(license license:asl2.0)))
(define-public python-robotframework-sshlibrary
(package
(name "python-robotframework-sshlibrary")