unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver.
@ 2017-10-10 11:27 Roel Janssen
  2017-10-10 11:31 ` [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo Roel Janssen
  2017-10-15  3:15 ` [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: Roel Janssen @ 2017-10-10 11:27 UTC (permalink / raw)
  To: 28778

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Dear Guix,

I'd like to add some Neo4j drivers.  This patch provides the 'officially
supported' driver.  Building for Python 3 fails with this version.  The
latest 1.5.0rc1 does seem to build for both Python 2 and Python 3, so
I'd suggest we add the Python 3 variant once 1.5.0 is out.

The other patch is for python2-py2neo, which is another driver.

Thanks for your time!

Kind regards,
Roel Janssen


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python2-neo4j-driver.patch --]
[-- Type: text/x-diff, Size: 1470 bytes --]

From d1198131221a2ab4b0e8e4318e9747e8b5786f32 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Tue, 10 Oct 2017 13:23:39 +0200
Subject: [PATCH 1/2] gnu: Add python2-neo4j-driver.

* gnu/packages/python.scm (python2-neo4j-driver): New variable.
---
 gnu/packages/python.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f5e92d889..4557637b1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7591,6 +7591,26 @@ and MAC network addresses.")
 (define-public python2-netaddr
   (package-with-python2 python-netaddr))
 
+(define-public python2-neo4j-driver
+  (package
+    (name "python2-neo4j-driver")
+    (version "1.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "neo4j-driver" version))
+              (sha256
+               (base32
+                "011r1vh182p8mm83d8dz9rfnc3l7rf7fd00cyrbyfzi71jmc4g98"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (home-page "https://neo4j.com/developer/python/")
+    (synopsis "Neo4j driver code written in Python")
+    (description "This package provides the Neo4j Python driver that connects
+to the database using Neo4j's binary protocol.  It aims to be minimal, while
+being idiomatic to Python.")
+    (license license:asl2.0)))
+
 (define-public python-wrapt
   (package
     (name "python-wrapt")
-- 
2.13.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-17  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 11:27 [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Roel Janssen
2017-10-10 11:31 ` [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo Roel Janssen
2017-10-15  3:16   ` Leo Famulari
2017-10-15  3:15 ` [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Leo Famulari
2017-10-17  8:08   ` bug#28778: " Roel Janssen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).