guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: gnu: dia: Fix version number.


From: guix-commits
Subject: 09/10: gnu: dia: Fix version number.
Date: Tue, 17 Dec 2019 03:47:06 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 914c8cdf07944123312cef30020b991d0726c432
Author: Efraim Flashner <address@hidden>
Date:   Tue Dec 17 09:57:21 2019 +0200

    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.
---
 gnu/packages/gnome.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9bc37f7..82c86b6 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"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]