diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-02 14:21:12 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-02 15:19:12 +0100 |
| commit | d0b343acd6997e9fcd5738e6fe9dc883239cb734 (patch) | |
| tree | 80822df24b685f1236d5be2e8b48934201cf069c /gnu | |
| parent | 4b4c00bccabd8b150a0d9a24b773a57438fe48c1 (diff) | |
gnu: ruby-sanitize: Update to 7.0.0.
* gnu/packages/ruby-xyz.scm (ruby-sanitize): Update to 7.0.0.
[source] <url>: Use a direct URL instead of [home-page].
[arguments] <phases>: Add 'patch.
[home-page]: Add before [synopsis].
Change-Id: I315208932e374b144905309f8bbe362f882857e1
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm index 7174952f5bb..ef82afa6683 100644 --- a/gnu/packages/ruby-xyz.scm +++ b/gnu/packages/ruby-xyz.scm @@ -7748,22 +7748,30 @@ It helps you keep your functionality clean and isolated where possible.") (define-public ruby-sanitize (package (name "ruby-sanitize") - (version "6.0.0") - (home-page "https://github.com/rgrove/sanitize") + (version "7.0.0") (source (origin (method git-fetch) ;; The gem does not include the Rakefile, so we download the ;; source from Github. (uri (git-reference - (url home-page) + (url "https://github.com/rgrove/sanitize") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "0p1a28vx95vscy9xzzyyddzgb9496x42a5i2ka39cpxbl5f3gkl0")))) + "14598z31g319q7vmn23jriwkm26705ciwy73a8dlsxqhp1wrcv69")))) (build-system ruby-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "Rakefile" + (("require \"standard/rake\"") ""))))))) (propagated-inputs (list ruby-crass ruby-nokogiri)) (native-inputs (list ruby-minitest)) + (home-page "https://github.com/rgrove/sanitize") (synopsis "Whitelist-based HTML and CSS sanitizer") (description "Sanitize is a whitelist-based HTML and CSS sanitizer. Given a list of |
