diff options
author | Marius Bakke <marius@gnu.org> | 2021-12-11 15:02:06 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-12-12 23:26:01 +0100 |
commit | 923c78619cc17b58a3c007ff8e8020ad0277228e (patch) | |
tree | 2ac5bf56140f7cae3b3c8827111679539ebaef4b | |
parent | 78bf278a802f3f3863880662b712fac05a00aed8 (diff) | |
download | guix-923c78619cc17b58a3c007ff8e8020ad0277228e.tar.gz |
gnu: ruby-loofah: Update to 2.13.0.
* gnu/packages/ruby.scm (ruby-loofah): Update to 2.13.0. [source]: Switch to GIT-FETCH. [arguments]: Remove. [native-inputs]: Add RUBY-HOE-MARKDOWN.
-rw-r--r-- | gnu/packages/ruby.scm | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c6a1471eff..b1eb95a778 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -6393,28 +6393,22 @@ you about the changes.") (define-public ruby-loofah (package (name "ruby-loofah") - (version "2.3.1") + (version "2.13.0") + (home-page "https://github.com/flavorjones/loofah") (source (origin - (method url-fetch) - (uri (rubygems-uri "loofah" version)) + ;; Build from git because the gem lacks tests. + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0npqav026zd7r4qdidq9x5nxcp2dzg71bnp421xxx7sngbxf2xbd")))) + "0rmsm7mckiq0gslfqdl02yvn500n42v84gq28qjqn4yq9jwfs9ga")))) (build-system ruby-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-unnecessary-dependencies - (lambda _ - ;; concourse is a development tool which is unused, so remove it - ;; so it's not required. - (substitute* "Rakefile" - (("require \"concourse\"") "") - (("Concourse\\.new.*") "task :concourse do\n")) - #t))))) (native-inputs `(("ruby-hoe" ,ruby-hoe) + ("ruby-hoe-markdown" ,ruby-hoe-markdown) ("ruby-rr" ,ruby-rr))) (propagated-inputs `(("ruby-nokogiri" ,ruby-nokogiri) @@ -6423,7 +6417,6 @@ you about the changes.") (description "Loofah is a general library for manipulating and transforming HTML/XML documents and fragments. It's built on top of Nokogiri and libxml2.") - (home-page "https://github.com/flavorjones/loofah") (license license:expat))) (define-public ruby-activesupport |