gnu: igt-gpu-tools: Fetch from upstream git repository.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sun, 22 Dec 2019 23:39:24 +0000 (00:39 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Mon, 23 Dec 2019 18:45:55 +0000 (19:45 +0100)
* gnu/packages/admin.scm (igt-gpu-tools)[source]: Use GIT-FETCH and
GIT-FILE-NAME.  Fetch from the master repository, not the mirror.

gnu/packages/admin.scm

index 9cf8330..a5f5d7f 100644 (file)
@@ -2804,14 +2804,15 @@ buffers.")
   (package
     (name "igt-gpu-tools")
     (version "1.23")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://cgit.freedesktop.org/xorg/app/"
-                                  "intel-gpu-tools/snapshot/"
-                                  "igt-gpu-tools-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0vzv2i4jfv2pkbqby5k3ap9pzidkmajwqmg3s7wnv8i1h33775iq"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/drm/igt-gpu-tools.git")
+             (commit (string-append "igt-gpu-tools-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ra0l7917434z02gfzlh61gx5asw051m1q7h1i1gzhh25wba1hz1"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f              ; many of the tests try to load kernel modules