summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:32:41 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commitbd7daf9c4febd0919101ad8016f28af237887a1c (patch)
treee2f1086b6a563dfda8c014344c4527eb7536de3b /gnu
parent11bbf6324b9662bc765805d53701e380d27fccc4 (diff)
downloadguix-bd7daf9c4febd0919101ad8016f28af237887a1c.tar.gz
gnu: virtualgl: Fetch sources from git.
* gnu/packages/gl.scm (virtualgl)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gl.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index b9dfd7b0f1..06c43a0483 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -725,13 +725,14 @@ mixed vector/bitmap output.")
     (version "2.6")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/VirtualGL/virtualgl/archive/"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/VirtualGL/virtualgl.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1ck1d0w19cgyqvrb9mdlj6l5db90xf18yln71kdninlqxvpgj6h7"))))
+         "0di2igj2bhwb153fndgxks7y57pyhp0gj31n47j93gb7lxc9qcck"))))
     (arguments
      `(#:tests? #f                      ; no tests are available
        #:configure-flags (list