From e09275f300efcb9f2f4d805833c2f86ebc599ddd Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 30 Jul 2023 02:00:00 +0200 Subject: [PATCH] gnu: catgirl: Don't use snapshot tarball. * gnu/packages/irc.scm (catgirl)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/irc.scm | 16 +++++++++------- 1 file 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 @@ (define-public catgirl (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