gnu: flameshot: Fetch sources from git.

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

View file

@ -1457,13 +1457,14 @@ (define-public flameshot
(version "0.5.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/lupoDharkael/flameshot/archive/"
"v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/lupoDharkael/flameshot.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0kp451bqgssvg8n3sg60s3fifplm9l5kxiij0yxkl864p2mhw8im"))))
"13h77np93r796jf289v4r687cmnpqkyqs34dm9gif4akaig74ky0"))))
(build-system gnu-build-system)
(native-inputs
`(("qttools" ,qttools)))