gnu: ruby-oj: Don't use unstable tarball.
* gnu/packages/ruby.scm (ruby-oj)[source]: Download using git-fetch.master
parent
7e309d0cb8
commit
b09ef660c7
|
@ -4788,15 +4788,16 @@ unacceptable HTML and/or CSS from a string.")
|
||||||
(version "3.6.7")
|
(version "3.6.7")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
;; Version on rubygems.org does not contain Rakefile, so download from
|
;; Version on rubygems.org does not contain Rakefile, so download from
|
||||||
;; GitHub instead.
|
;; GitHub instead.
|
||||||
(uri (string-append "https://github.com/ohler55/oj/archive/v"
|
(uri (git-reference
|
||||||
version ".tar.gz"))
|
(url "https://github.com/ohler55/oj")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1x28ga72jxlnmsd8g8c0fw81vlh54r0qgagw2lxsd3x3la091g2h"))))
|
"1fqx58pwjiln7053lw2jy6ns4agcpxq2ac4f2fkd2ca3fxwpmh03"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "test_all"
|
'(#:test-target "test_all"
|
||||||
|
@ -4815,7 +4816,7 @@ unacceptable HTML and/or CSS from a string.")
|
||||||
(description
|
(description
|
||||||
"Oj is a JSON parser and generator for Ruby, where the encoding and
|
"Oj is a JSON parser and generator for Ruby, where the encoding and
|
||||||
decoding of JSON is implemented as a C extension to Ruby.")
|
decoding of JSON is implemented as a C extension to Ruby.")
|
||||||
(home-page "http://www.ohler.com/oj")
|
(home-page "http://www.ohler.com/oj/")
|
||||||
(license (list license:expat ; Ruby code
|
(license (list license:expat ; Ruby code
|
||||||
license:bsd-3)))) ; extension code
|
license:bsd-3)))) ; extension code
|
||||||
|
|
||||||
|
|
Reference in New Issue