mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add ruby-time.
* gnu/packages/ruby.scm (ruby-time): New variable.
This commit is contained in:
parent
a2fafccaeb
commit
3f30f7d78c
1 changed files with 24 additions and 0 deletions
|
@ -738,6 +738,30 @@ includes the @code{Comparable} module for handling dates.")
|
||||||
(home-page "https://github.com/ruby/date")
|
(home-page "https://github.com/ruby/date")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
|
(define-public ruby-time
|
||||||
|
(package
|
||||||
|
(name "ruby-time")
|
||||||
|
(version "0.3.0")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch) ; for tests
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/ruby/time")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0jd6df2lxd60wcxyaf37j8v3nnfn952d5xhg6aap9zlcdmkk4g2n"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(propagated-inputs (list ruby-date))
|
||||||
|
(native-inputs (list ruby-test-unit-ruby-core))
|
||||||
|
(synopsis
|
||||||
|
"Extends the Time class with methods for parsing and conversion")
|
||||||
|
(description
|
||||||
|
"When this gem is @code{require}d, it extends the Time class with with
|
||||||
|
additional methods for parsing and converting Times.")
|
||||||
|
(home-page "https://github.com/ruby/time")
|
||||||
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public ruby-diff-lcs
|
(define-public ruby-diff-lcs
|
||||||
(package
|
(package
|
||||||
(name "ruby-diff-lcs")
|
(name "ruby-diff-lcs")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue