From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esVQj-0001q1-B2 for guix-patches@gnu.org; Sun, 04 Mar 2018 10:20:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esVQg-0006F3-6S for guix-patches@gnu.org; Sun, 04 Mar 2018 10:20:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1esVQg-0006Es-20 for guix-patches@gnu.org; Sun, 04 Mar 2018 10:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1esVQf-0003PB-RM for guix-patches@gnu.org; Sun, 04 Mar 2018 10:20:01 -0500 Subject: [bug#30696] [PATCH 1/4] gnu: Add python-djangorestframework. References: <878tb7rilb.fsf@cbaines.net> In-Reply-To: <878tb7rilb.fsf@cbaines.net> Resent-Message-ID: From: Christopher Baines Date: Sun, 4 Mar 2018 15:19:04 +0000 Message-Id: <20180304151907.1611-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30696@debbugs.gnu.org * gnu/packages/django.scm (python-djangorestframework): New variable. --- gnu/packages/django.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 0b447b517..0c0fc6f75 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -755,3 +755,27 @@ Django projects, which allows association of a number of tags with any (define-public python2-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))) -- 2.16.1