gnu: jansson: Update to 2.14.
* gnu/packages/web.scm (jansson): Update to 2.14. [source](uri): Change to new download location. [arguments]: Add #:phases to fix a test failure. [home-page]: Follow redirect.master
parent
7dfa2ff780
commit
fdd4eb5373
|
@ -1029,19 +1029,29 @@ libraries for working with JNLP applets.")
|
||||||
(define-public jansson
|
(define-public jansson
|
||||||
(package
|
(package
|
||||||
(name "jansson")
|
(name "jansson")
|
||||||
(version "2.13.1")
|
(version "2.14")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri (string-append "https://github.com/akheron/jansson"
|
||||||
(string-append "http://www.digip.org/jansson/releases/jansson-"
|
"/releases/download/v" version
|
||||||
version ".tar.bz2"))
|
"/jansson-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1g8h18vh8gyxlwfmvdivdp1siad26ywj5zr4j4avgdyjg7wa147f"))))
|
"1fdgji964mrrz19glx0zh91asji542fvybymvzk6rrbagkr5dagv"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--disable-static")))
|
(list
|
||||||
(home-page "http://www.digip.org/jansson/")
|
#:configure-flags #~'("--disable-static")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-tests
|
||||||
|
(lambda _
|
||||||
|
;; Take a fix from upstream for testing with symbol versioning:
|
||||||
|
;; https://github.com/akheron/jansson/pull/593
|
||||||
|
(substitute* "test/suites/api/check-exports"
|
||||||
|
(("(grep ' \\[DT\\] ' \\$test_log/symbols.*) \\| sort" _ cmd)
|
||||||
|
(string-append cmd "| sed 's/@@libjansson.*//' | sort"))))))))
|
||||||
|
(home-page "https://github.com/akheron/jansson")
|
||||||
(synopsis "JSON C library")
|
(synopsis "JSON C library")
|
||||||
(description
|
(description
|
||||||
"Jansson is a C library for encoding, decoding and manipulating JSON
|
"Jansson is a C library for encoding, decoding and manipulating JSON
|
||||||
|
|
Reference in New Issue