aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-06 18:48:56 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-06 18:48:56 +0200
commitf1818f96a32584a81c7aa4775769d156c973cbf4 (patch)
tree1fc2bfcc8d8c09440d217033b8071794d7ea746e /gnu
parentf4d562b008f939edb01673418872ab90ffd37e78 (diff)
downloadguix-f1818f96a32584a81c7aa4775769d156c973cbf4.tar.gz
guix-f1818f96a32584a81c7aa4775769d156c973cbf4.zip
gnu: jsoncpp: Fetch sources through git.
* gnu/packages/serialization.scm (jsoncpp)[source]: Switch to GIT-FETCH.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/serialization.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index ae1ef9749b..2a7dd629d5 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -298,17 +298,15 @@ that implements both the msgpack and msgpack-rpc specifications.")
(package
(name "jsoncpp")
(version "1.8.4")
+ (home-page "https://github.com/open-source-parsers/jsoncpp")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/open-source-parsers/jsoncpp/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1dpxk8hkni5dq4mdw8qbaj40jmid3a31d1gh8iqcnfwkw34ym7f4"))))
+ "1z0gj7a6jypkijmpknis04qybs1hkd04d1arr3gy89lnxmp6qzlm"))))
(build-system cmake-build-system)
- (home-page "https://github.com/open-source-parsers/jsoncpp")
(arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES")))
(synopsis "C++ library for interacting with JSON")