aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2019-06-27 13:54:14 -0500
committerEfraim Flashner2019-06-27 14:04:05 -0500
commit52b1d76a78aa9203d4fbdffb0ee50f66803e47e2 (patch)
tree7a85bd63794b4ffb0a2ed5136e893e71caedccf2
parent44d85ed9e538d55d7380ad3e5e3e747fc5ded9ff (diff)
downloadguix-bioinformatics-52b1d76a78aa9203d4fbdffb0ee50f66803e47e2.tar.gz
gn: Add python24-simplejson.
-rw-r--r--gn/packages/python24.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gn/packages/python24.scm b/gn/packages/python24.scm
index 3fb060d..56a4280 100644
--- a/gn/packages/python24.scm
+++ b/gn/packages/python24.scm
@@ -293,3 +293,20 @@ formats, and provides powerful image processing and graphics capabilities.")
primitives such as lines and ellipses, rather than manipulation of individual
pixels.")
(license license:gpl2+)))
+
+;; Apparently this is the library which mimics python-2.6+'s json library
+(define-public python24-simplejson
+ (let ((base (package-with-python24 python-simplejson)))
+ (package
+ (inherit base)
+ (version "2.0.9") ; last version to officially support python2.4
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "simplejson" version))
+ (sha256
+ (base32
+ "1vlkxibal9ljabybawnqr3jh6f6g21c5pbrzl65z9vwbfxhg9kdb"))))
+ (native-inputs
+ `(("python24-setuptools" ,python24-setuptools)
+ ,@(package-native-inputs base))))))