gnu: qjson: Don't use unstable tarball.
* gnu/packages/web.scm (qjson)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
20ab34c16f
commit
082504addf
|
@ -620,17 +620,17 @@ project)
|
||||||
(name "qjson")
|
(name "qjson")
|
||||||
(version "0.9.0")
|
(version "0.9.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/flavio/qjson/archive/"
|
(url "https://github.com/flavio/qjson.git")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
|
"1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; The tests require a X server
|
;; The tests require a running X server.
|
||||||
`(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
|
`(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
|
||||||
"-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
|
"-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Loading…
Reference in New Issue