mirror of
				https://codeberg.org/hako/Rosenthal.git
				synced 2025-11-04 03:34:37 +00:00 
			
		
		
		
	rosenthal: Add go-cloudflare.
* modules/rosenthal/packages/golang.scm (go-cloudflare): New variable. * modules/rosenthal/packages/networking.scm (cloudflared)[arguments]<#:go>: Use it.
This commit is contained in:
		
							parent
							
								
									297041998b
								
							
						
					
					
						commit
						2b37b85997
					
				@ -25,3 +25,22 @@
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     ;; Go 1.24 and later requires Go 1.22+ as the bootstrap toolchain.
 | 
			
		||||
     (alist-replace "go" (list go-1.22) (package-native-inputs go-1.23)))))
 | 
			
		||||
 | 
			
		||||
(define-public go-cloudflare
 | 
			
		||||
  (let ((commit "37bc41c6ff79507200a315b72834fce6ca427a7e")
 | 
			
		||||
        (revision "0"))
 | 
			
		||||
    (package
 | 
			
		||||
      (inherit go-1.22)
 | 
			
		||||
      (name "go-cloudflare")
 | 
			
		||||
      (version (git-version "1.22.12" revision commit))
 | 
			
		||||
      (source (origin
 | 
			
		||||
                (method git-fetch)
 | 
			
		||||
                (uri (git-reference
 | 
			
		||||
                      (url "https://github.com/cloudflare/go")
 | 
			
		||||
                      (commit commit)))
 | 
			
		||||
                (file-name (git-file-name name version))
 | 
			
		||||
                (sha256
 | 
			
		||||
                 (base32
 | 
			
		||||
                  "1zg6jqwhj42gaapk1fzqc4i7a6shdbfbpqgqhjyry55r4i0nqvxy"))))
 | 
			
		||||
      (home-page "https://github.com/cloudflare/go")
 | 
			
		||||
      (synopsis "Go with Cloudflare experimental patches"))))
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,8 @@
 | 
			
		||||
  #:use-module (gnu packages dns)
 | 
			
		||||
  #:use-module (gnu packages golang)
 | 
			
		||||
  #:use-module (gnu packages golang-build)
 | 
			
		||||
  #:use-module (gnu packages linux))
 | 
			
		||||
  #:use-module (gnu packages linux)
 | 
			
		||||
  #:use-module (rosenthal packages golang))
 | 
			
		||||
 | 
			
		||||
(define-public cloudflared
 | 
			
		||||
  (package
 | 
			
		||||
@ -33,7 +34,7 @@
 | 
			
		||||
                "0mblq1zvl7722k3515yc99ym18li39anlcmj8s10m7kkp9yfc596"))))
 | 
			
		||||
    (build-system go-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     (list #:go go-1.23
 | 
			
		||||
     (list #:go go-cloudflare
 | 
			
		||||
           #:install-source? #f
 | 
			
		||||
           #:import-path "github.com/cloudflare/cloudflared/cmd/cloudflared"
 | 
			
		||||
           #:unpack-path "github.com/cloudflare/cloudflared"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user