summaryrefslogtreecommitdiff
path: root/gnu/packages
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/packages
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/packages')
-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.")
7521(define-public ruby-tilt 7521(define-public ruby-tilt
7522 (package 7522 (package
7523 (name "ruby-tilt") 7523 (name "ruby-tilt")
7524 (version "2.1.0") 7524 (version "2.2.0")
7525 (source 7525 (source
7526 (origin 7526 (origin
7527 (method git-fetch) ;the distributed gem lacks tests 7527 (method git-fetch) ;the distributed gem lacks tests
@@ -7530,35 +7530,12 @@ intended for use with event loops such as async.")
7530 (commit (string-append "v" version)))) 7530 (commit (string-append "v" version))))
7531 (file-name (git-file-name name version)) 7531 (file-name (git-file-name name version))
7532 (sha256 7532 (sha256
7533 (base32 "0v7s38r86ammqpqm1diyk0yqz1k285argkpy5c8s1vq46983m9lv")))) 7533 (base32 "056zm4vzx9xjwl7zgmb17hzb91qx5cvzk60wvsxchfybvl03gn5d"))))
7534 (build-system ruby-build-system) 7534 (build-system ruby-build-system)
7535 (arguments 7535 (arguments
7536 (list 7536 (list
7537 #:phases 7537 #:phases
7538 #~(modify-phases %standard-phases 7538 #~(modify-phases %standard-phases
7539 (add-after 'unpack 'remove-some-dependencies
7540 (lambda _
7541 (substitute* "Gemfile"
7542 (("gem 'less'") "\n")
7543 (("gem 'coffee-script'") "\n")
7544 (("gem 'livescript'") "\n")
7545 (("gem 'babel-transpiler'") "\n")
7546 (("gem 'typescript-node'") "\n")
7547 (("gem 'typescript-node'") "\n")
7548 (("gem 'duktape'.*") "\n")
7549 ;; TODO ronn is used for generating the manual
7550 (("gem 'ronn'.*") "\n")
7551 ;; ruby-haml has a runtime dependency on ruby-tilt, so don't
7552 ;; pass it in as a native-input
7553 (("gem 'haml'.*") "\n")
7554 ;; TODO Not all of these gems are packaged for Guix yet:
7555 ;; less, coffee-script, livescript, babel-transpiler,
7556 ;; typescript-node
7557 (("if can_execjs") "if false")
7558 ;; Disable the secondary group to reduce the number of
7559 ;; dependencies. None of the normal approaches work, so patch
7560 ;; the Gemfile instead.
7561 (("group :secondary") "[].each"))))
7562 (add-before 'check 'set-SASS_IMPLEMENTATION 7539 (add-before 'check 'set-SASS_IMPLEMENTATION
7563 (lambda _ 7540 (lambda _
7564 (setenv "SASS_IMPLEMENTATION" "sassc")))))) 7541 (setenv "SASS_IMPLEMENTATION" "sassc"))))))