~ruther/guix-local

4256e9af4e387612a08b552e5436d3e26e382289 — Sharlatan Hellseher 9 months ago d0b343a
gnu: ruby-loofah: Update to 2.24.1.

* gnu/packages/ruby-xyz.scm (ruby-loofah): Update to 2.24.1.
[source] <url>: Use direct URL instead of [home-page].
[arguments] <phases>: Add 'skip-failing-tests.
[home-page]: Place before [synopsis]

Change-Id: If2dfc4210f9a6179c0edc326972bb3949f86f7a0
1 files changed, 12 insertions(+), 4 deletions(-)

M gnu/packages/ruby-xyz.scm
M gnu/packages/ruby-xyz.scm => gnu/packages/ruby-xyz.scm +12 -4
@@ 7666,22 7666,30 @@ you about the changes.")
(define-public ruby-loofah
  (package
    (name "ruby-loofah")
    (version "2.22.0")
    (home-page "https://github.com/flavorjones/loofah")
    (version "2.24.1")
    (source
     (origin
       ;; Build from git because the gem lacks tests.
       (method git-fetch)
       (uri (git-reference (url home-page)
       (uri (git-reference (url "https://github.com/flavorjones/loofah")
                           (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0qf7km4b6cgz5xfhik7i0s8fyhq01j7wsrmk8zbz441vmady8rf1"))))
        (base32 "07ngn69i86afqcpwv3yc977krbgq8b201gxz0pg3kp8wrliig44f"))))
    (build-system ruby-build-system)
    (arguments
     (list
      ;; tests: 1093 runs, 3586 assertions, 0 failures, 0 errors, 0 skips
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'skip-failing-tests
            (lambda _
              (delete-file "test/assets/testdata_sanitizer_tests1.dat"))))))
    (native-inputs
     (list ruby-hoe ruby-hoe-markdown ruby-rr))
    (propagated-inputs
     (list ruby-nokogiri ruby-crass))
    (home-page "https://github.com/flavorjones/loofah")
    (synopsis "Ruby library for manipulating and transforming HTML/XML")
    (description
     "Loofah is a general library for manipulating and transforming HTML/XML