gnu: Add python-pygit2.

* gnu/packages/python.scm (python-pygit2, python2-pygit2): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
ng0 2016-12-21 11:47:13 +00:00 committed by Leo Famulari
parent 460fccd4b3
commit 0151a8df22
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 27 additions and 0 deletions

View File

@ -3465,6 +3465,33 @@ association studies (GWAS) on extremely large data sets.")
(define-public python2-numpy
(package-with-python2 python-numpy))
(define-public python-pygit2
(package
(name "python-pygit2")
(version "0.24.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pygit2" version))
(sha256
(base32
"0shnafv9zc483wmcr4fzgvirg1qzz42xpdqd4a3ad39sdj1qbbia"))))
(build-system python-build-system)
(propagated-inputs
`(("python-six" ,python-six)
("python-cffi" ,python-cffi)
("libgit2" ,libgit2)
("python-tox" ,python-tox)))
(home-page "https://github.com/libgit2/pygit2")
(synopsis "Python bindings for libgit2")
(description "Pygit2 is a set of Python bindings to the libgit2 shared
library, libgit2 implements Git plumbing.")
;; GPL2.0 only, with linking exception.
(license license:gpl2)))
(define-public python2-pygit2
(package-with-python2 python-pygit2))
(define-public python-pyparsing
(package
(name "python-pyparsing")