summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-02-06 09:49:08 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-02-06 09:49:08 +0100
commit18adb1f00d2586c5ffdfd804374c594a7eb47e0f (patch)
tree9b602e5994f09999e2c4f7180457e8e1e618cf9d /gnu
parent0362e5820ab6a1eb8eaf33bc47e592857c25f765 (diff)
downloadguix-18adb1f00d2586c5ffdfd804374c594a7eb47e0f.tar.gz
gnu: guile-sqlite3: Use git-version.
* gnu/packages/guile.scm [version]: Use git-version.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 054ee90097..0d831af8c8 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1128,10 +1128,11 @@ Guile's foreign function interface.")
   (deprecated-package "guile2.2-gdbm-ffi" guile-gdbm-ffi))
 
 (define-public guile-sqlite3
-  (let ((commit "21f35ca87517194d8fcc7ac166b5e77f5f5348b0"))
+  (let ((commit "21f35ca87517194d8fcc7ac166b5e77f5f5348b0")
+        (revision "2"))
     (package
       (name "guile-sqlite3")
-      (version (string-append "0.0-2." (string-take commit 7)))
+      (version (git-version "0.0" revision commit))
 
       ;; XXX: This used to be available read-only at
       ;; <https://www.gitorious.org/guile-sqlite3/guile-sqlite3.git/> but it