summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-02 14:53:43 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-02 15:19:12 +0100
commit4256e9af4e387612a08b552e5436d3e26e382289 (patch)
tree1eaf6f361b59da8639aa95b483dab05137fc519e /gnu
parentd0b343acd6997e9fcd5738e6fe9dc883239cb734 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby-xyz.scm16
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index ef82afa6683..73f459f9def 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -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