diff options
author | Efraim Flashner | 2020-09-23 06:57:54 -0500 |
---|---|---|
committer | Efraim Flashner | 2020-09-23 07:01:03 -0500 |
commit | c8a5ec975fce472ce6f9e191eae2f660c6ab4226 (patch) | |
tree | cb1e11b4709f90dd6b82be12cc9a715083b85be7 /gn/packages/databases.scm | |
parent | 9544a7478ae0db9f7dc93549e13543af9acaa4d6 (diff) | |
download | guix-bioinformatics-c8a5ec975fce472ce6f9e191eae2f660c6ab4226.tar.gz |
gn: Add python2-mysqlclient.
Diffstat (limited to 'gn/packages/databases.scm')
-rw-r--r-- | gn/packages/databases.scm | 17 |
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)))))) |