aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/databases.scm
diff options
context:
space:
mode:
authorEfraim Flashner2020-09-23 06:57:54 -0500
committerEfraim Flashner2020-09-23 07:01:03 -0500
commitc8a5ec975fce472ce6f9e191eae2f660c6ab4226 (patch)
treecb1e11b4709f90dd6b82be12cc9a715083b85be7 /gn/packages/databases.scm
parent9544a7478ae0db9f7dc93549e13543af9acaa4d6 (diff)
downloadguix-bioinformatics-c8a5ec975fce472ce6f9e191eae2f660c6ab4226.tar.gz
gn: Add python2-mysqlclient.
Diffstat (limited to 'gn/packages/databases.scm')
-rw-r--r--gn/packages/databases.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gn/packages/databases.scm b/gn/packages/databases.scm
index d5567e9..99c3827 100644
--- a/gn/packages/databases.scm
+++ b/gn/packages/databases.scm
@@ -4,6 +4,7 @@
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages linux)
@@ -117,3 +118,19 @@
("openssl" ,openssl-1.0)
("readline" ,readline)
("zlib" ,zlib)))))
+
+(define-public python2-mysqlclient
+ (let ((base (package-with-python2 python-mysqlclient)))
+ (package
+ (inherit base)
+ (version "1.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mysqlclient" version))
+ (sha256
+ (base32
+ "05ifrfz7rrl7j4gq4xz5acd76lrnmry9vrvg98hknakm72damzgk"))))
+ (inputs
+ `(("zlib" ,zlib)
+ ,@(package-inputs base))))))