mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-terminfo: Update to 0.2.
* gnu/packages/ruby.scm (ruby-terminfo): Update to 0.2. [source]: Switch to source tarball. [arguments]: Update accordingly.
This commit is contained in:
parent
3f91e3e81d
commit
a1e6a360a5
1 changed files with 22 additions and 7 deletions
|
@ -12889,20 +12889,35 @@ about the changes.")
|
||||||
(define-public ruby-terminfo
|
(define-public ruby-terminfo
|
||||||
(package
|
(package
|
||||||
(name "ruby-terminfo")
|
(name "ruby-terminfo")
|
||||||
(version "0.1.1")
|
(version "0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "ruby-terminfo" version))
|
(uri (string-append
|
||||||
|
"http://www.a-k-r.org/" name "/" name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0rl4ic5pzvrpgd42z0c1s2n3j39c9znksblxxvmhkzrc0ckyg2cm"))))
|
"1n59dw351z6nzylgj0gpx4rpz6qhf8lrhzcbp1xqfpqvryhaxrjh"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
(list
|
||||||
;; Rakefile requires old packages and would need modification to
|
#:test-target "test"
|
||||||
;; work with current software.
|
#:phases
|
||||||
#:tests? #f))
|
#~(modify-phases %standard-phases
|
||||||
|
(delete 'replace-git-ls-files)
|
||||||
|
(replace 'build
|
||||||
|
(lambda _
|
||||||
|
(invoke "ruby" "extconf.rb")
|
||||||
|
(invoke "make")))
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(for-each (lambda (f)
|
||||||
|
(invoke "ruby" "-I" "test" f))
|
||||||
|
(find-files "test" "^test_.*\\.rb$")))))
|
||||||
|
(replace 'install
|
||||||
|
(lambda _
|
||||||
|
(invoke "make" "install" (string-append "prefix=" #$output)))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list ncurses))
|
(list ncurses))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue