guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26676: [PATCH] gnu: Add xerces-c.


From: Marius Bakke
Subject: bug#26676: [PATCH] gnu: Add xerces-c.
Date: Thu, 27 Apr 2017 15:29:07 +0200
User-agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)

Ricardo Wurmus <address@hidden> writes:

> * gnu/packages/xml.scm (xerces-c): New variable.

[...]

> +(define-public xerces-c
> +  (package
> +    (name "xerces-c")
> +    (version "3.1.4")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://apache/xerces/c/3/sources/"
> +                                  "xerces-c-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "0hb29c0smqlpxj0zdm09s983z5jx37szlliccnvgh0qq91wwqwwr"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:configure-flags (list "--disable-sse2")))

SSE2 is part of the AMD64 specification[0], so enabling it for x86_64
would be slightly nicer. Other than that looks good!

[0] https://en.wikipedia.org/wiki/SSE2#CPU_support

> +    (native-inputs
> +     `(("perl" ,perl)))
> +    (home-page "http://xerces.apache.org/xerces-c/";)
> +    (synopsis "Validating XML parser library for C++")
> +    (description "Xerces-C++ is a validating XML parser written in a portable
> +subset of C++.  Xerces-C++ makes it easy to give your application the ability
> +to read and write XML data.  A shared library is provided for parsing,
> +generating, manipulating, and validating XML documents using the DOM, SAX, 
> and
> +SAX2 APIs.")
> +    (license license:asl2.0)))
> -- 
> 2.12.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]