summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-11 10:09:54 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-11 10:09:54 +0100
commitf1f1cebdd3f2ca18d77e8f8a1f5760a65e7137fb (patch)
treec04f95c15b201714385b2b6f2166f516c2f9327f /gnu
parentf626b7192394b96b012d5872cc623ef6adbb8981 (diff)
downloadguix-f1f1cebdd3f2ca18d77e8f8a1f5760a65e7137fb.tar.gz
gnu: mdbtools: Fetch sources from git.
* gnu/packages/databases.scm (mdbtools)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index aacf5465c1..46bd728b1b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2071,13 +2071,14 @@ for ODBC.")
     (version "0.7.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/brianb/mdbtools/archive/"
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/brianb/mdbtools.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "05hbmxcq173kzb899gdi3bz2qcc1vi3n1qbbkwpsvrq7ggf11wyw"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+         "0gwcpp9y09xhs21g7my2fs8ncb8i6ahlyixcx8jd3q97jbzj441l"))))
     (build-system gnu-build-system)
     (inputs
      `(("glib" ,glib)))