me
/
guix
Archived
1
0
Fork 0

gnu: jsoncpp: Fetch sources through git.

* gnu/packages/serialization.scm (jsoncpp)[source]: Switch to GIT-FETCH.
master
Marius Bakke 2019-07-06 18:48:56 +02:00
parent f4d562b008
commit f1818f96a3
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 7 deletions

View File

@ -298,17 +298,15 @@ that implements both the msgpack and msgpack-rpc specifications.")
(package (package
(name "jsoncpp") (name "jsoncpp")
(version "1.8.4") (version "1.8.4")
(home-page "https://github.com/open-source-parsers/jsoncpp")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference (url home-page) (commit version)))
"https://github.com/open-source-parsers/jsoncpp/archive/" (file-name (git-file-name name version))
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1dpxk8hkni5dq4mdw8qbaj40jmid3a31d1gh8iqcnfwkw34ym7f4")))) "1z0gj7a6jypkijmpknis04qybs1hkd04d1arr3gy89lnxmp6qzlm"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(home-page "https://github.com/open-source-parsers/jsoncpp")
(arguments (arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"))) `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES")))
(synopsis "C++ library for interacting with JSON") (synopsis "C++ library for interacting with JSON")