diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-02-18 01:33:55 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-20 20:40:02 +0200 |
| commit | 3bbc9a39e608116f87c26b5573466ba878cc395e (patch) | |
| tree | 39b1b5e519b272c03340ffc2639cc954adcb9bcd /gnu/packages/ruby.scm | |
| parent | 6b92421db8504e77f3f65215f1d39e250cd92bf1 (diff) | |
gnu: ruby-terminfo: Update to 0.2-0.f4a597d.
* gnu/packages/ruby.scm (ruby-terminfo): Update to 0.2-0.f4a597d.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/ruby.scm')
| -rw-r--r-- | gnu/packages/ruby.scm | 81 |
1 files changed, 42 insertions, 39 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 3883e3e4417..1447df6b23b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -13632,45 +13632,48 @@ about the changes.") | |||
| 13632 | (license license:expat))) | 13632 | (license license:expat))) |
| 13633 | 13633 | ||
| 13634 | (define-public ruby-terminfo | 13634 | (define-public ruby-terminfo |
| 13635 | (package | 13635 | (let ((commit "f4a597d92dcc465e7b343f9afb8cd45607c8e969") |
| 13636 | (name "ruby-terminfo") | 13636 | (revision "0")) |
| 13637 | (version "0.2") | 13637 | (package |
| 13638 | (source | 13638 | (name "ruby-terminfo") |
| 13639 | (origin | 13639 | (version (git-version "0.2" revision commit)) |
| 13640 | (method url-fetch) | 13640 | (source |
| 13641 | (uri (string-append | 13641 | (origin |
| 13642 | "http://www.a-k-r.org/" name "/" name "-" version ".tar.gz")) | 13642 | (method git-fetch) |
| 13643 | (sha256 | 13643 | (uri |
| 13644 | (base32 | 13644 | (git-reference |
| 13645 | "1n59dw351z6nzylgj0gpx4rpz6qhf8lrhzcbp1xqfpqvryhaxrjh")))) | 13645 | (url "https://github.com/genki/ruby-terminfo") |
| 13646 | (build-system ruby-build-system) | 13646 | (commit commit))) |
| 13647 | (arguments | 13647 | (file-name (git-file-name name version)) |
| 13648 | (list | 13648 | (sha256 |
| 13649 | #:test-target "test" | 13649 | (base32 "0b24sqf0jwj8m106nh35hjayw1kiyrpramb6vg7fnz32mqni6hdi")))) |
| 13650 | #:phases | 13650 | (build-system ruby-build-system) |
| 13651 | #~(modify-phases %standard-phases | 13651 | (arguments |
| 13652 | (delete 'replace-git-ls-files) | 13652 | (list |
| 13653 | (replace 'build | 13653 | #:phases |
| 13654 | (lambda _ | 13654 | #~(modify-phases %standard-phases |
| 13655 | (invoke "ruby" "extconf.rb") | 13655 | (delete 'replace-git-ls-files) |
| 13656 | (invoke "make"))) | 13656 | (replace 'build |
| 13657 | (replace 'check | 13657 | (lambda _ |
| 13658 | (lambda* (#:key tests? #:allow-other-keys) | 13658 | (invoke "ruby" "extconf.rb") |
| 13659 | (when tests? | 13659 | (invoke "make"))) |
| 13660 | (for-each (lambda (f) | 13660 | (replace 'check |
| 13661 | (invoke "ruby" "-I" "test" f)) | 13661 | (lambda* (#:key tests? #:allow-other-keys) |
| 13662 | (find-files "test" "^test_.*\\.rb$"))))) | 13662 | (when tests? |
| 13663 | (replace 'install | 13663 | (for-each (lambda (f) |
| 13664 | (lambda _ | 13664 | (invoke "ruby" "-Ilib:test" "-Ilib:." f)) |
| 13665 | (invoke "make" "install" (string-append "prefix=" #$output))))))) | 13665 | (find-files "test" "^test_.*\\.rb$"))))) |
| 13666 | (inputs | 13666 | (replace 'install |
| 13667 | (list ncurses)) | 13667 | (lambda _ |
| 13668 | (native-inputs | 13668 | (invoke "make" "install" (string-append "prefix=" #$output))))))) |
| 13669 | (list ruby-rubygems-tasks ruby-rdoc)) | 13669 | (inputs |
| 13670 | (home-page "http://www.a-k-r.org/ruby-terminfo/") | 13670 | (list ncurses)) |
| 13671 | (synopsis "Terminfo binding for Ruby") | 13671 | (native-inputs |
| 13672 | (description "Ruby-terminfo provides terminfo binding for Ruby.") | 13672 | (list ruby-rubygems-tasks ruby-rdoc)) |
| 13673 | (license license:bsd-3))) | 13673 | (home-page "http://www.a-k-r.org/ruby-terminfo/") |
| 13674 | (synopsis "Terminfo binding for Ruby") | ||
| 13675 | (description "Ruby-terminfo provides terminfo binding for Ruby.") | ||
| 13676 | (license license:bsd-3)))) | ||
| 13674 | 13677 | ||
| 13675 | (define-public ruby-diffy | 13678 | (define-public ruby-diffy |
| 13676 | (package | 13679 | (package |
