From 417b07ab34e72d613d877fb0fde25c3cbc6805a5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 3 Nov 2019 18:22:48 +0100 Subject: gnu: yaml-cpp: Don't use unstable tarball. * gnu/packages/serialization.scm (yaml-cpp)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/serialization.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'gnu/packages/serialization.scm') diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 48dcf8d0ab..2bd1872bfd 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -261,14 +261,15 @@ that implements both the msgpack and msgpack-rpc specifications.") (package (name "yaml-cpp") (version "0.6.3") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/jbeder/yaml-cpp/archive/" - "yaml-cpp-" version ".tar.gz")) - (sha256 - (base32 - "1vgi193c761xaalq7r62ahiyvg7m32ab4z104k1s12kinf81pskp")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jbeder/yaml-cpp.git") + (commit (string-append "yaml-cpp-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ykkxzxcwwiv8l8r697gyqh1nl582krpvi7m7l6b40ijnk4pw30s")))) (build-system cmake-build-system) (arguments '(#:configure-flags '("-DYAML_BUILD_SHARED_LIBS=ON"))) -- cgit v1.2.3