From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: [PATCH] gnu: add xlsx2csv. Date: Thu, 11 Aug 2016 12:55:42 +0200 Message-ID: <878tw3zia9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXnee-0003Lr-8X for guix-devel@gnu.org; Thu, 11 Aug 2016 06:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXnea-0008Ao-FV for guix-devel@gnu.org; Thu, 11 Aug 2016 06:56:04 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi! Find xlsx2csv package attached. Greetings, Jan --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-add-xlsx2csv.patch Content-Transfer-Encoding: quoted-printable >From ab5767429283f3fa7cbff294e4c7466f1bc06b14 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 13 Jul 2016 14:46:33 +0200 Subject: [PATCH] gnu: add xlsx2csv. * gnu/packages/python.scm (xlsx2csv): New variable. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6ff1c5c..8a2c4b7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -24,6 +24,7 @@ ;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2016 Troy Sankey ;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -9852,3 +9853,32 @@ etc.") (package (inherit base) (name "ptpython2")))) + +(define-public xlsx2csv + (package + (name "xlsx2csv") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/dilshod/" + name "/archive/release/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gpn6kaa7l1ai8c9zx2j3acf04bvxq79pni8jjfjrk01smjbyyql")))) + (build-system python-build-system) + (propagated-inputs + `(("expat" ,expat))) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "test/run"))))))) + (home-page "https://github.com/dilshod/xlsx2csv") + (synopsis "xlsx to csv converter") + (description + "Xls2csv converts xslx files to csv format. Handles large xlsx-files= .") + (license gpl2+))) --=20 2.9.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=--