summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-30 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-30 02:00:00 +0200
commite09275f300efcb9f2f4d805833c2f86ebc599ddd (patch)
tree545c22a508dea201113d09b6438c7f1391ae220d
parent753ca72fc14c5bec7328604ad35cc342872503c8 (diff)
downloadguix-e09275f300efcb9f2f4d805833c2f86ebc599ddd.tar.gz
gnu: catgirl: Don't use snapshot tarball.
* gnu/packages/irc.scm (catgirl)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
-rw-r--r--gnu/packages/irc.scm16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index cbe80f5e45..8ffe3882db 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -410,13 +410,15 @@ for the IRCv3 protocol.")
   (package
     (name "catgirl")
     (version "2.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://git.causal.agency/catgirl/snapshot/"
-                                  name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "13pfphcfkdzqfb4x7w21xp6rnmg3ix9f39mpqmxxzg15ys1gp2x6"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.causal.agency/catgirl")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1gxxblv3bwv1rl2ajjy791333r6qwgzb6qmk3iviw71mzi6ckxba"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; no tests