summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-17 09:57:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-12-17 09:57:21 +0200
commit914c8cdf07944123312cef30020b991d0726c432 (patch)
tree5632cd61049fc94081ca1cff21afe81e8eaabd5d
parent4b3e91de2dbcd61575d888b97896cb5a64724410 (diff)
downloadguix-914c8cdf07944123312cef30020b991d0726c432.tar.gz
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.
-rw-r--r--gnu/packages/gnome.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9bc37f7a81..82c86b65cc 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -328,13 +328,13 @@ either on a local, or remote machine via a number of methods.")
   (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"))))