summary refs log tree commit diff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-04-11 17:17:26 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-11 17:18:08 +0200
commitfb168a310e5a21d1d6a7c78a21abe547f3139e79 (patch)
tree2a6feeaf6a0f79657fb3c67825351c330d5a0bc7 /gnu/packages/machine-learning.scm
parentb24aaeec45fdfe0359759b3dff084f0ec52dd73a (diff)
downloadguix-fb168a310e5a21d1d6a7c78a21abe547f3139e79.tar.gz
gnu: ocaml-mcl: Do not use unstable tarball.
* gnu/packages/machine-learning.scm (ocaml-mcl)[source]: Use git-fetch.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index c97f51aec7..5373020a77 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -305,14 +305,14 @@ networks) based on simulation of (stochastic) flow in graphs.")
     (version "12-068oasis4")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/fhcrc/mcl/archive/"
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fhcrc/mcl.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1l5jbhwjpsj38x8b9698hfpkv75h8hn3kj0gihjhn8ym2cwwv110"))))
+         "0009dc3h2jp3qg5val452wngpqnbfyhbcxylghq0mrjqxx0jdq5p"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:phases