gnu: powertabeditor: Fetch sources from git.

* gnu/packages/music.scm (powertabeditor)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-09 08:37:12 +01:00
parent b1b82aed5d
commit 1b12b572a5
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1141,14 +1141,14 @@ (define-public powertabeditor
(name "powertabeditor")
(version "2.0.0-alpha10")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/powertab/powertabeditor/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/powertab/powertabeditor.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1fr14ql0yhlqvh6y08yaanszm2nvca5i50rqym396kfvga3ky18x"))
"1z4fhdp71ck9synr12rg1p6365xnypd8ih40c5icj4si36khvksk"))
(modules '((guix build utils)))
(snippet
'(begin