mirror of https://codeberg.org/hako/Rosenthal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.9 KiB
47 lines
1.9 KiB
;; SPDX-FileCopyrightText: 2022 Hilton Chain <hako@ultrarare.space> |
|
;; |
|
;; SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
(define-module (rosenthal packages networking) |
|
#:use-module ((guix licenses) #:prefix license:) |
|
#:use-module (guix build-system go) |
|
#:use-module (guix gexp) |
|
#:use-module (guix git-download) |
|
#:use-module (guix packages) |
|
#:use-module (guix utils) |
|
#:use-module (gnu packages admin) |
|
#:use-module (gnu packages golang) |
|
#:use-module (rosenthal packages golang)) |
|
|
|
(define-public cloudflared |
|
(package |
|
(name "cloudflared") |
|
(version "2023.2.1") |
|
(source (origin |
|
(method git-fetch) |
|
(uri (git-reference |
|
(url "https://github.com/cloudflare/cloudflared") |
|
(commit version))) |
|
(file-name (git-file-name name version)) |
|
;; TODO: Unbundle vendored dependencies. |
|
;; (modules '((guix build utils))) |
|
;; (snippet '(delete-file-recursively "vendor")) |
|
(sha256 |
|
(base32 |
|
"1xxlzcqibzp82gax6zgvviy0zsmd1y3l2mrbbxxipc1mx7z365xy")))) |
|
(build-system go-build-system) |
|
(arguments |
|
(list #:go go-1.19 |
|
#:install-source? #f |
|
#:import-path "github.com/cloudflare/cloudflared/cmd/cloudflared" |
|
#:unpack-path "github.com/cloudflare/cloudflared")) |
|
(home-page "https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/") |
|
(synopsis "Cloudflare Tunnel client") |
|
(description |
|
"This package provides the command-line client for Cloudflare Tunnel, a |
|
tunneling daemon that proxies traffic from the Cloudflare network to your |
|
origins. This daemon sits between Cloudflare network and your origin (e.g. a |
|
webserver). Cloudflare attracts client requests and sends them to you via |
|
this daemon, without requiring you to poke holes on your firewall --- your |
|
origin can remain as closed as possible.") |
|
(license license:asl2.0)))
|
|
|