guix-commits
[Top][All Lists]
Advanced

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

05/17: gnu: Deprecate the "go-github-com-lucas-clemente-quic-go" variabl


From: guix-commits
Subject: 05/17: gnu: Deprecate the "go-github-com-lucas-clemente-quic-go" variable.
Date: Sat, 25 Nov 2023 17:36:16 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 3634c55ce48a73a5b728f74a3e890ba3f9b43bcb
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Sun Oct 29 11:54:49 2023 +0300

    gnu: Deprecate the "go-github-com-lucas-clemente-quic-go" variable.
    
    * gnu/packages/golang.scm (go-github-com-lucas-clemente-quic-go): Rename to
      "go-github-com-quic-go-quic-go".
      [arguments]: Patch source files to replace "lucas-clemente" with 
"quic-go".
      [home-page]: Update.
      (go-github-com-lucas-clemente-quic-go): Define as deprecated by
      "go-github-com-quic-go-quic-go".
    
    Change-Id: I9a99d4d904fadcf0b6854e806042ce5ad190ac0c
    Signed-off-by: Ludovic Court├Ęs <ludo@gnu.org>
---
 gnu/packages/golang.scm | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2c9aff4a28..9b5045f9f3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7692,14 +7692,14 @@ implementation of generics.")
     (home-page "https://github.com/cheekybits/genny/";)
     (license license:expat)))
 
-(define-public go-github-com-lucas-clemente-quic-go
+(define-public go-github-com-quic-go-quic-go
   (package
-    (name "go-github-com-lucas-clemente-quic-go")
+    (name "go-github-com-quic-go-quic-go")
     (version "0.14.4")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/lucas-clemente/quic-go";)
+                     (url "https://github.com/quic-go/quic-go";)
                      (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
@@ -7707,20 +7707,31 @@ implementation of generics.")
                 "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/lucas-clemente/quic-go"
+     '(#:import-path "github.com/quic-go/quic-go"
        ;; XXX More packages required...
-       #:tests? #f))
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-repository-path
+           (lambda _
+             (substitute* (find-files "src/github.com/quic-go/quic-go/" 
".*\\.go|.*\\.mod")
+               (("lucas-clemente")
+                "quic-go")))))))
     (propagated-inputs
-     (list go-golang-org-x-crypto go-github-com-cheekybits-genny
+     (list go-golang-org-x-crypto
+           go-github-com-cheekybits-genny
            go-github-com-marten-seemann-chacha20
            go-github-com-marten-seemann-qtls
            go-github-com-golang-protobuf-proto))
     (synopsis "QUIC in Go")
     (description "This package provides a Go language implementation of the 
QUIC
 network protocol.")
-    (home-page "https://github.com/lucas-clemente/quic-go";)
+    (home-page "https://github.com/quic-go/quic-go";)
     (license license:expat)))
 
+(define-public go-github-com-lucas-clemente-quic-go
+  (deprecated-package "go-github-com-lucas-clemente-quic-go" 
go-github-com-quic-go-quic-go))
+
 (define-public go-github-com-lunixbochs-vtclean
   (package
     (name "go-github-com-lunixbochs-vtclean")



reply via email to

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