aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-05-26 05:00:21 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-05-26 05:00:50 +0200
commit5daafe0b5d2752c05330e2452d1c87b396b7ed2a (patch)
treeec79d144ec0a7fd3922703e5023c5f3b7723cd4b
parente91a0bff01ea7bba764118839be89acdaee8b8c0 (diff)
downloadguix-5daafe0b5d2752c05330e2452d1c87b396b7ed2a.tar
guix-5daafe0b5d2752c05330e2452d1c87b396b7ed2a.tar.gz
gnu: rxcpp: Don't use unstable tarball.
* gnu/packages/machine-learning.scm (rxcpp)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/machine-learning.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 69156ad8ba..b330b2357f 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -576,12 +576,13 @@ in terms of new algorithms.")
(version "4.1.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/ReactiveX/RxCpp/archive/v"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ReactiveX/RxCpp.git")
+ (commit (string-append "v" version))))
(sha256
- (base32 "1smxrcm0s6bz05185dx1i2xjgn47rq7m247pblil6p3bmk3lkfyk"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ (base32 "1rdpa3jlc181jd08nk437aar085h28i45s6nzrv65apb3xyyz0ij"))
+ (file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
`(#:phases