summary refs log tree commit diff
path: root/gnu/packages/cups.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-23 02:15:25 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-23 02:51:29 +0200
commit192d74719ace67c08da1e1c682521b52ac6b0725 (patch)
treec094b9e2131d2680802aed4e904f69d52f67564c /gnu/packages/cups.scm
parenta437bd9180d1af0f84229d4ae3e9cd0ab93d9fa0 (diff)
downloadguix-192d74719ace67c08da1e1c682521b52ac6b0725.tar.gz
gnu: cups: Fetch source directly from the Git repository.
* gnu/packages/cups.scm (cups)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/cups.scm')
-rw-r--r--gnu/packages/cups.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 8301802e72..f8fa57a0fe 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -257,12 +257,13 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
     (version "2.3.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/apple/cups/releases/download/v"
-                           version "/cups-" version "-source.tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/apple/cups")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1vpk0b2vq830f8fvf9z8qjsm5k141i7pi8djbinpnr78pi4dj7r6"))))
+        (base32 "13jbr93aiszkkw4fyh4rmapjfb4ngkqnb05jkqdfyv5rhy72si2m"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags