[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/16: gnu: Add python-graphql-relay.
From: |
Efraim Flashner |
Subject: |
06/16: gnu: Add python-graphql-relay. |
Date: |
Sun, 18 Sep 2016 20:19:59 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit 7ee51575792e1030f4baedb20899217b2534708b
Author: Efraim Flashner <address@hidden>
Date: Sun Sep 11 21:28:12 2016 +0300
gnu: Add python-graphql-relay.
* gnu/packages/python.scm (python-graphql-relay): New variable.
---
gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f52ecfb..3cb4a8f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10652,3 +10652,40 @@ to Python.")
(native-inputs
`(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+
+(define-public python-graphql-relay
+ (package
+ (name "python-graphql-relay")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "graphql-relay" version))
+ (sha256
+ (base32
+ "04wr9ayshxjjdcg2v21c7ffbz36kif1wjl3604fqd3qignb3fbxi"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (inputs
+ `(("python-graphql-core" ,python-graphql-core)
+ ("python-promise" ,python-promise)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/graphql-python/graphql-relay-py")
+ (synopsis "Relay implementation for Python")
+ (description
+ "This is a library to allow the easy creation of Relay-compliant servers
+using the GraphQL Python reference implementation of a GraphQL server. It
+should be noted that the code is a exact port of the original
address@hidden://github.com/graphql/graphql-relay-js,graphql-relay js
implementation}
+from Facebook.")
+ (properties `((python2-variant . ,(delay python2-graphql-relay))))
+ (license license:expat)))
+
+(define-public python2-graphql-relay
+ (let ((base (package-with-python2
+ (strip-python2-variant python-graphql-relay))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
- branch master updated (bff8be8 -> b8ea520), Efraim Flashner, 2016/09/18
- 05/16: gnu: Add python-graphql-core., Efraim Flashner, 2016/09/18
- 14/16: gnu: Add python-bcrypt., Efraim Flashner, 2016/09/18
- 01/16: gnu: Add python-pika., Efraim Flashner, 2016/09/18
- 09/16: gnu: Add python-django-filter., Efraim Flashner, 2016/09/18
- 02/16: gnu: Add python-peewee., Efraim Flashner, 2016/09/18
- 06/16: gnu: Add python-graphql-relay.,
Efraim Flashner <=
- 04/16: gnu: Add python-pytest-mock., Efraim Flashner, 2016/09/18
- 16/16: gnu: Add onionshare., Efraim Flashner, 2016/09/18
- 03/16: gnu: Add python-promise., Efraim Flashner, 2016/09/18
- 11/16: gnu: Add python-consul., Efraim Flashner, 2016/09/18
- 08/16: gnu: Add python-pytest-django., Efraim Flashner, 2016/09/18
- 13/16: gnu: Add python-nose2., Efraim Flashner, 2016/09/18
- 07/16: gnu: Add python-sqlalchemy-utils., Efraim Flashner, 2016/09/18
- 15/16: gnu: Add python-nautilus., Efraim Flashner, 2016/09/18
- 10/16: gnu: Add python-graphene., Efraim Flashner, 2016/09/18
- 12/16: gnu: Add python-cov-core., Efraim Flashner, 2016/09/18