mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add python-jedi.
* gnu/packages/python.scm (python-jedi, python2-jedi): New variables. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
ec2a67de88
commit
a502dfbf4c
1 changed files with 28 additions and 0 deletions
|
@ -9724,3 +9724,31 @@ (define-public python2-prompt-toolkit
|
|||
(native-inputs
|
||||
`(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs base))))))
|
||||
|
||||
(define-public python-jedi
|
||||
(package
|
||||
(name "python-jedi")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jedi" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/davidhalter/jedi")
|
||||
(synopsis
|
||||
"Autocompletion for Python that can be used for text editors")
|
||||
(description
|
||||
"Jedi is an autocompletion tool for Python that can be used for text editors.")
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-jedi))))))
|
||||
|
||||
(define-public python2-jedi
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-jedi))))
|
||||
(package
|
||||
(inherit base)
|
||||
(native-inputs
|
||||
`(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs base))))))
|
||||
|
|
Loading…
Reference in a new issue