apteryx pushed a commit to branch core-updates
in repository guix.
commit 98b4466d675d8052efc74b79f176efb33672865c
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Fri Jan 15 15:20:01 2021 -0500
gnu: Add python-mypy-minimal.
* gnu/packages/python-check.scm (python-mypy-minimal): New variable.
---
gnu/packages/python-check.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6459359..b26824b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1096,6 +1096,20 @@ any Python VM with basically no runtime overhead.")
;; mypyc/lib-rt/getargs.c
(license (list license:expat license:psfl))))
+;;; This variant exists to break a cycle between python-pylama and
python-isort.
+(define-public python-mypy-minimal
+ (hidden-package
+ (package
+ (inherit python-mypy)
+ (name "python-mypy-minimal")
+ (arguments
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ ;; XXX: Fails with: "In procedure utime: No such file or
+ ;; directory".
+ (delete 'ensure-no-mtimes-pre-1980))))
+ (native-inputs '()))))
+
(define-public python-robber
(package
(name "python-robber")