mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add python-djangorestframework.
* gnu/packages/django.scm (python-djangorestframework): New variable.
This commit is contained in:
parent
a9079b4880
commit
d5f56e9089
1 changed files with 24 additions and 0 deletions
|
@ -755,3 +755,27 @@ (define-public python-django-tagging
|
||||||
|
|
||||||
(define-public python2-django-tagging
|
(define-public python2-django-tagging
|
||||||
(package-with-python2 python-django-tagging))
|
(package-with-python2 python-django-tagging))
|
||||||
|
|
||||||
|
(define-public python-djangorestframework
|
||||||
|
(package
|
||||||
|
(name "python-djangorestframework")
|
||||||
|
(version "3.7.7")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "djangorestframework" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"11qv117gqwswxjljs7wafxg1hyzzlx3qrviwlk9hw41bsbl997lz"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
'(;; No included tests
|
||||||
|
#:tests? #f))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-django" ,python-django)))
|
||||||
|
(home-page "https://www.django-rest-framework.org")
|
||||||
|
(synopsis "Toolkit for building Web APIs with Django")
|
||||||
|
(description
|
||||||
|
"The Django REST framework is for building Web APIs with Django. It
|
||||||
|
provides features like a web browseable API and authentication policies.")
|
||||||
|
(license license:bsd-2)))
|
||||||
|
|
Loading…
Reference in a new issue