gnu: cereal: Don't use unstable tarball.

* gnu/packages/serialization.scm (cereal)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-10-29 13:11:47 +01:00
parent e1e00e87e6
commit 0300085cc9
No known key found for this signature in database
GPG key ID: D889B0F018C5493C

View file

@ -53,14 +53,15 @@ (define-public cereal
(package
(name "cereal")
(version "1.2.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/USCiLab/cereal/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0kj32h3j2128anig0g9gzw82kfyd5xqfkwq6vdyv900jx8i1qckx"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/USCiLab/cereal.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1vxkrsnxkiblzi1z61vfix167c184fy868sgwj2dxxgbgjcq2nrh"))))
(build-system cmake-build-system)
(arguments
`(;; The only included tests are portability tests requiring