From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 02/22] gnu: Add perl-xml-writer. Date: Wed, 27 Jul 2016 22:54:03 +1000 Message-ID: References: <20160727125423.7768-1-donttrustben@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOMN-000847-TM for guix-devel@gnu.org; Wed, 27 Jul 2016 08:54:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSOML-0004GZ-Hw for guix-devel@gnu.org; Wed, 27 Jul 2016 08:54:50 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:34937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSOML-0004GV-Av for guix-devel@gnu.org; Wed, 27 Jul 2016 08:54:49 -0400 Received: by mail-pf0-x242.google.com with SMTP id h186so1828312pfg.2 for ; Wed, 27 Jul 2016 05:54:49 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id o80sm9177941pfa.67.2016.07.27.05.54.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 05:54:47 -0700 (PDT) In-Reply-To: <20160727125423.7768-1-donttrustben@gmail.com> In-Reply-To: References: 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 * gnu/packages/perl.scm (perl-xml-writer): New variable. --- gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index f42abee..844178a 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -10,6 +10,7 @@ ;;; Coypright © 2016 ng0 ;;; Copyright © 2016 Alex Sassmannshausen ;;; Copyright © 2016 Roel Janssen +;;; Copyright © 2016 Ben Woodcroft ;;; ;;; This file is part of GNU Guix. ;;; @@ -6416,6 +6417,33 @@ it. With this module, you can add your own magic to any variable without having to write a single line of XS.") (license (package-license perl)))) +(define-public perl-xml-writer + (package + (name "perl-xml-writer") + (version "0.625") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JO/JOSEPHW/XML-Writer-" + version + ".tar.gz")) + (sha256 + (base32 + "1gjzs570i67ywbv967g8ylb5sg59clwmyrl2yix3jl70dhn55070")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/XML-Writer") + (synopsis "Easily generate well-formed, namespace-aware XML") + (description "@code{XML::Writer} is a simple Perl module for writing XML +documents: it takes care of constructing markup and escaping data correctly. +By default, it also performs a significant amount of well-formedness checking +on the output to make certain (for example) that start and end tags match, +that there is exactly one document element, and that there are not duplicate +attribute names.") + ;; Redistribution and use in source and compiled forms, with or without + ;; modification, are permitted under any circumstances. No warranty. + (license public-domain))) + (define-public perl-yaml (package (name "perl-yaml") -- 2.9.1