gnu: dia: Fix version number.

This commit is actually after to 0.97.3 release.

* gnu/packages/gnome.scm (dia)[version]: Use git-version.
[source]: Update to new source uri. Use git-file-name.
This commit is contained in:
Efraim Flashner 2019-12-17 09:57:21 +02:00
parent 4b3e91de2d
commit 914c8cdf07
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -328,13 +328,13 @@ (define-public dia
(let ((commit "fbc306168edab63db80b904956117cbbdc514ee4"))
(package
(name "dia")
(version (string-append "0.97.2-" (string-take commit 7)))
(version (git-version "0.97.3" "1" commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://git.gnome.org/browse/dia")
(url "https://gitlab.gnome.org/GNOME/dia.git/")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(file-name (git-file-name name version))
(sha256
(base32
"1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l"))))