1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 06:30:36 +02:00

gnu: python2-numpy@1.8: Don't use unstable tarball.

* gnu/packages/python-xyz.scm (python2-numpy-1.8)[source]: Download
using git-fetch.
This commit is contained in:
Efraim Flashner
2020-01-06 12:01:03 +02:00
parent 5912aa4d0e
commit 6b61fc47e2

View File

@@ -3430,13 +3430,14 @@ capabilities.")
(version "1.8.2")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/numpy/numpy/archive/v" version ".tar.gz"))
(file-name (string-append "python2-numpy-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/numpy/numpy")
(commit (string-append "v" version))))
(file-name (git-file-name "numpy" version))
(sha256
(base32
"0sc20gz1b17xnyrkp5frca3ql5qfalpv916hfg2kqxpwr6jg0f1g"))))
"0ikgi15rsqwbkfsjjxrwh40lqyal2wvyp3923y6w6ch3dcr82sfk"))))
(arguments
(substitute-keyword-arguments (package-arguments python2-numpy)
((#:phases phases)