me
/
guix
Archived
1
0
Fork 0

gnu: ruby-json-pure: Update to 2.6.3.

* gnu/packages/ruby.scm (ruby-json-pure): Update to 2.6.3.
[source]: Use git repository.
[arguments]: Update style.
[home-page]: Update.
Christopher Baines 2023-06-27 10:55:56 +01:00
parent 98152e8927
commit b88e8777e9
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 21 additions and 15 deletions

View File

@ -7642,17 +7642,23 @@ a native C extension.")
(define-public ruby-json-pure (define-public ruby-json-pure
(package (package
(name "ruby-json-pure") (name "ruby-json-pure")
(version "2.3.1") (version "2.6.3")
(source (origin (source
(method url-fetch) (origin
(uri (rubygems-uri "json_pure" version)) ;; For tests
(method git-fetch)
(uri (git-reference
(url "https://github.com/flori/json.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"00pziwkfqwk8vj19s65sdki31q1wvmf5v9b3sfglxm94qfvas1lx")))) "0551269c98a07m6bl594syh5vknrm3c636a4dxis9jpsb7vf7lfx"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-rakefile (add-after 'unpack 'fix-rakefile
(lambda _ (lambda _
(substitute* "Rakefile" (substitute* "Rakefile"
@ -7663,7 +7669,7 @@ a native C extension.")
(synopsis "JSON implementation in pure Ruby") (synopsis "JSON implementation in pure Ruby")
(description (description
"This package provides a JSON implementation written in pure Ruby.") "This package provides a JSON implementation written in pure Ruby.")
(home-page "https://flori.github.com/json/") (home-page "https://flori.github.io/json/")
(license license:ruby))) (license license:ruby)))
(define-public ruby-jwt (define-public ruby-jwt