gnu: rxcpp: Don't use unstable tarball.

* gnu/packages/machine-learning.scm (rxcpp)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-05-26 05:00:21 +02:00
parent e91a0bff01
commit 5daafe0b5d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -576,12 +576,13 @@ in terms of new algorithms.")
(version "4.1.0") (version "4.1.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/ReactiveX/RxCpp/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/ReactiveX/RxCpp.git")
(commit (string-append "v" version))))
(sha256 (sha256
(base32 "1smxrcm0s6bz05185dx1i2xjgn47rq7m247pblil6p3bmk3lkfyk")) (base32 "1rdpa3jlc181jd08nk437aar085h28i45s6nzrv65apb3xyyz0ij"))
(file-name (string-append name "-" version ".tar.gz")))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases