aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/databases.scm17
-rw-r--r--gn/packages/genenetwork.scm1
2 files changed, 18 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))))))
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 369b1ab..ddae6b4 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -40,6 +40,7 @@
#:use-module (gn packages bioinformatics)
#:use-module (gn packages twint)
#:use-module (gn packages crates-io)
+ #:use-module (gn packages databases)
#:use-module (gn packages elixir)
#:use-module (gn packages gemma)
#:use-module (gn packages javascript)