summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-02-16 01:34:15 +0100
committerAndreas Enge <andreas@enge.fr>2025-06-20 20:40:00 +0200
commitdf1e82cac83756f38544ce7ca7b1cd2dfb7a4a6d (patch)
treea8e1401f54c400407fafa3b7d4ccf3ab7d666be6 /gnu
parentad3e74c7f2503acecdb5d5593a78d6daf5008716 (diff)
gnu: ruby-tilt: Update to 2.2.0.
* gnu/packages/ruby.scm (ruby-tilt): Update to 2.2.0. [arguments]<#:phases>: Remove uneeded phase 'remove-some-dependencies. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm27
1 files changed, 2 insertions, 25 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 2b4e1b5556e..7e441c92a55 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7521,7 +7521,7 @@ intended for use with event loops such as async.")
(define-public ruby-tilt
(package
(name "ruby-tilt")
- (version "2.1.0")
+ (version "2.2.0")
(source
(origin
(method git-fetch) ;the distributed gem lacks tests
@@ -7530,35 +7530,12 @@ intended for use with event loops such as async.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0v7s38r86ammqpqm1diyk0yqz1k285argkpy5c8s1vq46983m9lv"))))
+ (base32 "056zm4vzx9xjwl7zgmb17hzb91qx5cvzk60wvsxchfybvl03gn5d"))))
(build-system ruby-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'remove-some-dependencies
- (lambda _
- (substitute* "Gemfile"
- (("gem 'less'") "\n")
- (("gem 'coffee-script'") "\n")
- (("gem 'livescript'") "\n")
- (("gem 'babel-transpiler'") "\n")
- (("gem 'typescript-node'") "\n")
- (("gem 'typescript-node'") "\n")
- (("gem 'duktape'.*") "\n")
- ;; TODO ronn is used for generating the manual
- (("gem 'ronn'.*") "\n")
- ;; ruby-haml has a runtime dependency on ruby-tilt, so don't
- ;; pass it in as a native-input
- (("gem 'haml'.*") "\n")
- ;; TODO Not all of these gems are packaged for Guix yet:
- ;; less, coffee-script, livescript, babel-transpiler,
- ;; typescript-node
- (("if can_execjs") "if false")
- ;; Disable the secondary group to reduce the number of
- ;; dependencies. None of the normal approaches work, so patch
- ;; the Gemfile instead.
- (("group :secondary") "[].each"))))
(add-before 'check 'set-SASS_IMPLEMENTATION
(lambda _
(setenv "SASS_IMPLEMENTATION" "sassc"))))))