From 914c8cdf07944123312cef30020b991d0726c432 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 17 Dec 2019 09:57:21 +0200 Subject: 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 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")))) -- cgit v1.2.3