gnu: gpick: Fetch sources from git.

* gnu/packages/image.scm (gpick)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 22:37:11 +01:00
parent bd7daf9c4f
commit 94be94cfda
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1392,12 +1392,14 @@ (define-public gpick
(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)