diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-01-30 16:40:42 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-01-30 17:46:48 +0100 |
commit | 14db8f192e974768d0608c2c5a95a4cfe595487e (patch) | |
tree | 0df545b86b2ec1bd5ae4042bcb494580d46696ee | |
parent | ba4084bb13b2d2a8b963bda760a4f5e0c83b76bf (diff) | |
download | guix-14db8f192e974768d0608c2c5a95a4cfe595487e.tar.gz guix-14db8f192e974768d0608c2c5a95a4cfe595487e.zip |
gnu: ruby-unf-ext: Update to 0.0.7.6.
* gnu/packages/ruby.scm (ruby-unf-ext): Update to 0.0.7.6.
[arguments]: Add phase to avoid unnecessary dependency.
-rw-r--r-- | gnu/packages/ruby.scm | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 445ec0e702..98868cdda3 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4955,19 +4955,26 @@ including comments and whitespace.") (define-public ruby-unf-ext (package (name "ruby-unf-ext") - (version "0.0.7.1") + (version "0.0.7.6") (source (origin (method url-fetch) (uri (rubygems-uri "unf_ext" version)) (sha256 (base32 - "0ly2ms6c3irmbr1575ldyh52bz2v0lzzr2gagf0p526k12ld2n5b")))) + "1ll6w64ibh81qwvjx19h8nj7mngxgffg7aigjx11klvf5k2g4nxf")))) (build-system ruby-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'build 'build-ext - (lambda _ (invoke "rake" "compile:unf_ext")))))) + (lambda _ (invoke "rake" "compile:unf_ext"))) + (add-before 'check 'lose-rake-compiler-dock-dependency + (lambda _ + ;; rake-compiler-dock is listed in the gemspec, but only + ;; required when cross-compiling. + (substitute* "unf_ext.gemspec" + ((".*rake-compiler-dock.*") "")) + #t))))) (native-inputs `(("bundler" ,bundler) ("ruby-rake-compiler" ,ruby-rake-compiler) |