guix_mirror_bot pushed a commit to branch c++-team
in repository guix.
commit f2a583443672b32281cdef159c9f4fbe936c77f9
Author: Greg Hogan <[email protected]>
AuthorDate: Sat Mar 8 19:58:15 2025 +0000
gnu: Add jsoncpp/pinned.
* gnu/packages/serialization.scm (jsoncpp/pinned): New variable.
Change-Id: Ib786d68833fb4cadbf80d25673433111982e4430
---
gnu/packages/serialization.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 4b575a3ee3..09fef811ad 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -655,6 +655,20 @@ preserve existing comment in unserialization/serialization
steps, making
it a convenient format to store user input files.")
(license license:expat)))
+(define-public jsoncpp/pinned
+ (hidden-package
+ ;; Version that rarely changes, depended on by CMake.
+ (package/inherit jsoncpp
+ (version "1.9.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url (package-home-page jsoncpp)) (commit
version)))
+ (file-name (git-file-name (package-name jsoncpp) version))
+ (sha256
+ (base32
+ "070xg4i52z3yv5b9bw5k95qskw0daivh0njka87mzj0d3zf1qsyy")))))))
+
;; Tensorflow does not build with jsoncpp 1.8.x. It is built with commit
;; 4356d9bba191e1e16ce7a92073cbf3e63564e973, which lies between version 1.7.2
;; and 1.7.3.