aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-04-07 09:53:50 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-08 14:41:56 +0200
commit42ef29c8812b20ff08ea3b54edc070e51ba88a90 (patch)
tree2900bca90942eef3129bcd36af8e1b09796dd769 /gnu
parent1eeae57b6f96503e6e424cc8634e1f88ed1f68dc (diff)
downloadguix-42ef29c8812b20ff08ea3b54edc070e51ba88a90.tar
guix-42ef29c8812b20ff08ea3b54edc070e51ba88a90.tar.gz
gnu: Add jsoncpp-for-tensorflow.
* gnu/packages/serialization.scm (jsoncpp-for-tensorflow): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/serialization.scm20
1 files changed, 19 insertions, 1 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 05e0d1d833..ae1ef9749b 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
@@ -30,6 +30,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
@@ -317,6 +318,23 @@ preserve existing comment in unserialization/serialization steps, making
it a convenient format to store user input files.")
(license license:expat)))
+;; 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.
+(define-public jsoncpp-for-tensorflow
+ (package (inherit jsoncpp)
+ (name "jsoncpp")
+ (version "1.7.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/open-source-parsers/jsoncpp.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1180ln8blrb0mwzpcf78k49hlki6di65q77rsvglf83kfcyh4d7z"))))))
+
(define-public capnproto
(package
(name "capnproto")