aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:37:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commit94be94cfda780374524e227184efcc88b83f5d5f (patch)
treee980de0f740fab3b4ec09630a593c0fcf228977b
parentbd7daf9c4febd0919101ad8016f28af237887a1c (diff)
downloadguix-94be94cfda780374524e227184efcc88b83f5d5f.tar
guix-94be94cfda780374524e227184efcc88b83f5d5f.tar.gz
gnu: gpick: Fetch sources from git.
* gnu/packages/image.scm (gpick)[source]: Fetch from git.
-rw-r--r--gnu/packages/image.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index e7b10655e7..11755a7b86 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1392,12 +1392,14 @@ medical image data, e.g. magnetic resonance image (MRI) and functional MRI
(name "gpick")
(version "0.2.5")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/thezbyg/gpick/archive/"
- name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/thezbyg/gpick.git")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0mxvxk15xhk2i5vfavjhnkk4j3bnii0gpf8di14rlbpq070hd5rs"))))
+ "0mcj806zagh122qgrdkrg0macpzby97y89xi2sjyn3bh8vmmyxjy"))))
(build-system scons-build-system)
(native-inputs
`(("boost" ,boost)