guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: cups: Fetch source directly from the Git repository.


From: guix-commits
Subject: 04/06: gnu: cups: Fetch source directly from the Git repository.
Date: Tue, 22 Jun 2021 21:27:52 -0400 (EDT)

nckx pushed a commit to branch core-updates
in repository guix.

commit 192d74719ace67c08da1e1c682521b52ac6b0725
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 23 02:15:25 2021 +0200

    gnu: cups: Fetch source directly from the Git repository.
    
    * gnu/packages/cups.scm (cups)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/cups.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 8301802..f8fa57a 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]