mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
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.
This commit is contained in:
parent
22c313eff8
commit
2acbc174b0
1 changed files with 3 additions and 19 deletions
|
@ -260,7 +260,7 @@ (define-public lua5.2-libmpack
|
||||||
(define-public yaml-cpp
|
(define-public yaml-cpp
|
||||||
(package
|
(package
|
||||||
(name "yaml-cpp")
|
(name "yaml-cpp")
|
||||||
(version "0.6.2")
|
(version "0.6.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -268,26 +268,10 @@ (define-public yaml-cpp
|
||||||
"yaml-cpp-" version ".tar.gz"))
|
"yaml-cpp-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01gxn7kc8pzyh4aadjxxzq8cignmbwmm9rfrsmgqfg9w2q75dn74"))))
|
"1vgi193c761xaalq7r62ahiyvg7m32ab4z104k1s12kinf81pskp"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
|
'(#:configure-flags '("-DYAML_BUILD_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)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python" ,python)))
|
`(("python" ,python)))
|
||||||
(home-page "https://github.com/jbeder/yaml-cpp")
|
(home-page "https://github.com/jbeder/yaml-cpp")
|
||||||
|
|
Loading…
Reference in a new issue