summary refs log tree commit diff
path: root/gnu/packages/serialization.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-11-03 18:16:28 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-11-03 20:09:28 +0100
commit2acbc174b0d4b1d18fd8ffcfbfed24464b6479c1 (patch)
tree96f690bcf7b8ebbefba9e6f0e28c47296bb7c87c /gnu/packages/serialization.scm
parent22c313eff8500cb7d8a370a6eaed95a5540af323 (diff)
downloadguix-2acbc174b0d4b1d18fd8ffcfbfed24464b6479c1.tar.gz
gnu: yaml-cpp: Update to 0.6.3.
* gnu/packages/serialization.scm (yaml-cpp): Update to 0.6.3.
[arguments]: Update #:configure-flags.
Remove obsolete ‘dont-install-gtest-libraries’ phase.
Diffstat (limited to 'gnu/packages/serialization.scm')
-rw-r--r--gnu/packages/serialization.scm22
1 files changed, 3 insertions, 19 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 9c4952793f..48dcf8d0ab 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -260,7 +260,7 @@ that implements both the msgpack and msgpack-rpc specifications.")
 (define-public yaml-cpp
   (package
     (name "yaml-cpp")
-    (version "0.6.2")
+    (version "0.6.3")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -268,26 +268,10 @@ that implements both the msgpack and msgpack-rpc specifications.")
                     "yaml-cpp-" version ".tar.gz"))
               (sha256
                (base32
-                "01gxn7kc8pzyh4aadjxxzq8cignmbwmm9rfrsmgqfg9w2q75dn74"))))
+                "1vgi193c761xaalq7r62ahiyvg7m32ab4z104k1s12kinf81pskp"))))
     (build-system cmake-build-system)
     (arguments
-     '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'install 'dont-install-gtest-libraries
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (with-directory-excursion
-                 (string-append out "/include")
-                 (delete-file-recursively "gtest")
-                 (delete-file-recursively "gmock"))
-               (with-directory-excursion
-                 (string-append out "/lib")
-                 (for-each (lambda (file)
-                             (delete-file file))
-                           '("libgmock.so" "libgmock_main.so"
-                             "libgtest.so" "libgtest_main.so"))))
-             #t)))))
+     '(#:configure-flags '("-DYAML_BUILD_SHARED_LIBS=ON")))
     (native-inputs
      `(("python" ,python)))
     (home-page "https://github.com/jbeder/yaml-cpp")