mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-highline: Update to 3.1.2.
* gnu/packages/ruby-xyz.scm (ruby-highline): Update to 3.1.2. [source]: Switch to the Git repository for testing. [arguments]: Enable tests and add a setup phase before check. Change-Id: Iec977dc27156491393c00610c67071e5e4c2396d Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
a300e6feb1
commit
14e77e9db3
1 changed files with 17 additions and 5 deletions
|
@ -157,17 +157,29 @@ elegant API.")
|
|||
(define-public ruby-highline
|
||||
(package
|
||||
(name "ruby-highline")
|
||||
(version "2.0.1")
|
||||
(version "3.1.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "highline" version))
|
||||
(method git-fetch) ;for tests
|
||||
(uri (git-reference
|
||||
(url "https://github.com/JEG2/highline")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0gr6pckj2jayxw1gdgh9193j5jag5zrrqqlrnl4jvcwpyd3sn2zc"))))
|
||||
"09ysksjmlzhpr5d21qhhl7bq7b3f03qk7jc1k08iwrvx3fjid8gv"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ;; TODO: NameError: uninitialized constant SPEC
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'remove-coverage-and-failing-test
|
||||
(lambda _
|
||||
(substitute* "test/test_helper.rb"
|
||||
(("require \"simplecov\" if RUBY_ENGINE == \"ruby\"")
|
||||
""))
|
||||
;; TODO: Package dry-types gem.
|
||||
(delete-file "test/test_highline.rb"))))))
|
||||
(native-inputs
|
||||
(list bundler ruby-code-statistics))
|
||||
(synopsis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue