From patchwork Thu Nov 10 00:09:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 17366 Received: (qmail 17563 invoked by uid 89); 10 Nov 2016 00:09:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:2016111, Framework, colored, 122123 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Nov 2016 00:09:29 +0000 Received: from localhost ([::1]:43087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4cvo-000711-8G for patchwork@sourceware.org; Wed, 09 Nov 2016 19:09:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4cvf-0006yl-Lr for guix-devel@gnu.org; Wed, 09 Nov 2016 19:09:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4cvd-0003eF-82 for guix-devel@gnu.org; Wed, 09 Nov 2016 19:09:19 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:34654) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4cvd-0003e5-1t for guix-devel@gnu.org; Wed, 09 Nov 2016 19:09:17 -0500 Received: from dayas.3.home (77.118.24.249.wireless.dyn.drei.com [77.118.24.249]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 3BA561CA10EB; Thu, 10 Nov 2016 01:09:15 +0100 (CET) From: Danny Milosavljevic To: guix-devel@gnu.org Subject: [PATCH 3/3] gnu: Add python-flask-restplus. Date: Thu, 10 Nov 2016 01:09:04 +0100 Message-Id: <20161110000904.29331-4-dannym@scratchpost.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161110000904.29331-1-dannym@scratchpost.org> References: <20161110000904.29331-1-dannym@scratchpost.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 85.13.128.8 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/python.scm (python-flask-restplus): New variable. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cb25d4e..58b49ed 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12212,3 +12212,33 @@ asynchronous messaging environments.") (synopsis "Colored output for Python nosetests") (description "This package provides colored output for Python nosetests.") (license license:bsd-3))) + +(define-public python-flask-restplus + (package + (name "python-flask-restplus") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flask-restplus" version)) + (sha256 + (base32 + "11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aniso8601" ,python-aniso8601) + ("python-flask" ,python-flask) + ("python-jsonschema" ,python-jsonschema) + ("python-pytz" ,python-pytz) + ("python-six" ,python-six))) + (native-inputs + `(("python-tzlocal" ,python-tzlocal) + ("python-blinker" ,python-blinker) + ("python-nose" ,python-nose) + ("python-rednose" ,python-rednose))) + (home-page "https://github.com/noirbizarre/flask-restplus") + (synopsis "Framework for fast, easy and documented API development with Flask") + (description "This package provides a framework for API development with Flask. +It's like the package @code{python-flask-restful} - but supports @code{python-swagger} +documentation builder.") + (license license:expat)))