gnu: Add python-pyannotate.

* gnu/packages/python-check.scm (python-pyannotate): New variable.
This commit is contained in:
Brendan Tildesley 2021-03-10 19:30:33 +11:00 committed by Leo Famulari
parent 506b3299f3
commit ed2c89f25d
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -10,6 +10,7 @@
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1183,6 +1184,28 @@ (define-public python-mypy
;; mypyc/lib-rt/getargs.c
(license (list license:expat license:psfl))))
(define-public python-pyannotate
(package
(name "python-pyannotate")
(version "1.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyannotate" version))
(sha256
(base32
"16bm0mf7wxvy0lgmcs1p8n1ji8pnvj1jvj8zk3am70dkp825iv84"))))
(build-system python-build-system)
(propagated-inputs
`(("python-mypy-extensions" ,python-mypy-extensions)
("python-six" ,python-six)))
(home-page
"https://github.com/dropbox/pyannotate")
(synopsis "Auto-generate PEP-484 annotations")
(description "This package, PyAnnotate, is used to auto-generate PEP-484
annotations.")
(license license:asl2.0)))
(define-public python-eradicate
(package
(name "python-eradicate")