summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-14 04:06:18 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-14 13:10:38 +0200
commitc4659802207d53516fb68aef94f9c133344b4172 (patch)
treecece4bc84f4fe14b1e738ca8567fe96a08f33ff9
parent8615bcbe20b5172e5075d525748e4f70d2f7e6f9 (diff)
downloadguix-c4659802207d53516fb68aef94f9c133344b4172.tar.gz
gnu: ppsspp: Name git checkouts.
* gnu/packages/emulators.scm (ppsspp)[inputs]: Use GIT-FILE-NAME for
in-line git origins.
-rw-r--r--gnu/packages/emulators.scm32
1 files changed, 18 insertions, 14 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 3d1fb6c905..b459e76d4b 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1946,21 +1946,25 @@ framework based on QEMU.")
        ;; TODO: unbundle armips.
        ("armips-source" ,(package-source armips))
        ("lang"
-        ,(origin
-           (method git-fetch)
-           (uri (git-reference
-                 (url "https://github.com/hrydgard/ppsspp-lang")
-                 (commit "d184ba2b607a03435be579406b816c90add334e6")))
-           (sha256
-            (base32 "0s003x6247nx09qd6a1jz1l2hsk5d6k1zmh8mg3m6hjjhvbvd9j9"))))
+        ,(let ((commit "d184ba2b607a03435be579406b816c90add334e6"))
+           (origin
+             (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/hrydgard/ppsspp-lang")
+                   (commit commit)))
+             (sha256
+              (base32 "0s003x6247nx09qd6a1jz1l2hsk5d6k1zmh8mg3m6hjjhvbvd9j9"))
+             (file-name (git-file-name "ppsspp-lang" commit)))))
        ("tests"
-        ,(origin
-           (method git-fetch)
-           (uri (git-reference
-                 (url "https://github.com/hrydgard/pspautotests")
-                 (commit "328b839c7243e7f733f9eae88d059485e3d808e7")))
-           (sha256
-            (base32 "1gj1kr5ijxrqwvz7c41phskjr70ndp8iz0gr8c3xxsd8p9z5gdvm"))))))
+        ,(let ((commit "328b839c7243e7f733f9eae88d059485e3d808e7"))
+           (origin
+             (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/hrydgard/pspautotests")
+                   (commit commit)))
+             (sha256
+              (base32 "1gj1kr5ijxrqwvz7c41phskjr70ndp8iz0gr8c3xxsd8p9z5gdvm"))
+             (file-name (git-file-name "pspautotests" commit)))))))
     (arguments
      `(#:out-of-source? #f
        #:configure-flags (list "-DUSE_DISCORD=OFF"