~ruther/guix-local

0bf0353aad358e0c879f81ed002349b8a217f23d — Igor Goryachev via Guix-patches via 1 year, 10 months ago d17f06a
gnu: Add erlang-fast-xml.

* gnu/packages/erlang-xyz.scm (erlang-fast-xml): New variable.

Change-Id: Id005f375b99f77b8e9e8e318b6c82d1f256a5fd2
Signed-off-by: Andrew Tropin <andrew@trop.in>
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/erlang-xyz.scm
M gnu/packages/erlang-xyz.scm => gnu/packages/erlang-xyz.scm +27 -0
@@ 327,6 327,33 @@ Erlang/Elixir.")
    (home-page "https://hex.pm/packages/stun")
    (license license:asl2.0)))

(define-public erlang-fast-xml
  (package
    (name "erlang-fast-xml")
    (version "1.1.52")
    (source
     (origin
       (method url-fetch)
       (uri (hexpm-uri "fast_xml" version))
       (sha256
        (base32 "1z8vrpnjx8y9qfqhhj4is8k4lzvjlnzhp6d62r8bdlh61qwr4lbr"))))
    (build-system rebar-build-system)
    (inputs (list erlang-p1-utils))
    (native-inputs (list erlang-pc))
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'set-environment
            (lambda _
              (setenv "HOME" "/tmp")
              (setenv "CC" "gcc"))))))
    (synopsis "Fast Expat-based Erlang/Elixir XML parsing library")
    (description "This package provides fast Expat-based Erlang/Elixir XML
parsing library.")
    (home-page "https://hex.pm/packages/fast_xml")
    (license license:asl2.0)))

(define-public erlang-unicode-util-compat
  (package
    (name "erlang-unicode-util-compat")