gnu: Add python-gitlab.

* gnu/packages/python-web.scm (python-gitlab): New variable.
This commit is contained in:
Julien Lepiller 2020-01-12 23:53:59 +01:00
parent 63f76ab29e
commit ad429e0de7
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -3469,3 +3469,28 @@ (define-public python-translation-finder
the source code of a project. It supports many translation file formats and
is part of the Weblate translation platform.")
(license license:gpl3+)))
(define-public python-gitlab
(package
(name "python-gitlab")
(version "1.15.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-gitlab" version))
(sha256
(base32
"0zl6kz8v8cg1bcy2r78b2snb0lpw0b573gdx2x1ps0nhsh75l4j5"))))
(build-system python-build-system)
(propagated-inputs
`(("python-requests" ,python-requests)
("python-six" ,python-six)))
(native-inputs
`(("python-httmock" ,python-httmock)
("python-mock" ,python-mock)))
(home-page
"https://github.com/python-gitlab/python-gitlab")
(synopsis "Interact with GitLab API")
(description "This package provides an extended library for interacting
with GitLab instances through their API.")
(license license:lgpl3+)))