about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner2019-06-27 12:09:45 -0500
committerEfraim Flashner2019-06-27 12:17:57 -0500
commitb8b07d916af715dd6dfb81aa4b1345907b6f6fa4 (patch)
tree682c7b6a94a1be87004cabf15c4bedae131c7f47
parent18e08e242dff51b403f209e58aa81a4233d271ff (diff)
downloadguix-bioinformatics-b8b07d916af715dd6dfb81aa4b1345907b6f6fa4.tar.gz
gn: Add python24-pyxlwriter.
-rw-r--r--gn/packages/python24.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gn/packages/python24.scm b/gn/packages/python24.scm
index cb9fae5..adc575c 100644
--- a/gn/packages/python24.scm
+++ b/gn/packages/python24.scm
@@ -5,6 +5,7 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system python)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages tcl)
@@ -168,3 +169,29 @@ read read ssl ssl tcl tcl tk tk ,(version-major+minor (package-version tcl)) ,(v
     (synopsis "Python package for the generation of PostScript, PDF, and SVG files")
     (description "Python package for the generation of PostScript, PDF, and SVG files")
     (license license:gpl2+)))
+
+(define-public python24-pyxlwriter
+  (package
+    (name "python24-pyxlwriter")
+    (version "0.4a3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://sourceforge/pyxlwriter/pyxlwriter/"
+                            version "/pyXLWriter-" version ".zip"))
+        (sha256
+         (base32
+          "1kfsi6la9y53rwayszgayfmkjfknpp650v69a0hwd1fcfk1df735"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2.4))
+    (native-inputs
+     `(("python24-setuptools" ,python24-setuptools)
+       ("unzip" ,unzip)))
+    (home-page "https://sourceforge.net/projects/pyxlwriter/")
+    (synopsis "Python library for generating Excel compatible spreadsheets")
+    (description "PyXLWriter is a Python library for generating Excel compatible
+spreadsheets.  It's a port of John McNamara's Perl @code{Spreadsheet::WriteExcel}
+module version 1.01 to Python.  It allows writing of Excel compatible
+spreadsheets without the need for COM objects.")
+    (license license:lgpl2.1+)))