From patchwork Sat Feb 24 09:03:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 60972 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F087D27BBEA; Sat, 24 Feb 2024 09:14:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4F5D227BBE9 for ; Sat, 24 Feb 2024 09:14:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdo7D-0004ql-MF; Sat, 24 Feb 2024 04:14:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdo7C-0004qH-82 for guix-patches@gnu.org; Sat, 24 Feb 2024 04:14:38 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdo7C-0008Oi-0H for guix-patches@gnu.org; Sat, 24 Feb 2024 04:14:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdo7a-0006Ea-0b for guix-patches@gnu.org; Sat, 24 Feb 2024 04:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69347] [PATCH 1/2] gnu: Add go-github-com-pkg-sftp. References: <87le7a9qhp.fsf@troyfigiel.com> In-Reply-To: <87le7a9qhp.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Feb 2024 09:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69347 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69347@debbugs.gnu.org Received: via spool by 69347-submit@debbugs.gnu.org id=B69347.170876609823939 (code B ref 69347); Sat, 24 Feb 2024 09:15:01 +0000 Received: (at 69347) by debbugs.gnu.org; 24 Feb 2024 09:14:58 +0000 Received: from localhost ([127.0.0.1]:41444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdo7V-0006E2-Pa for submit@debbugs.gnu.org; Sat, 24 Feb 2024 04:14:58 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:45668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdo7T-0006DW-Aq for 69347@debbugs.gnu.org; Sat, 24 Feb 2024 04:14:56 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Thh5F3c35z9sch for <69347@debbugs.gnu.org>; Sat, 24 Feb 2024 10:13:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708766033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=U3FNAiH0jk0GhRn8J9SY/QOor/XMxtasM2S6YkTufFo=; b=i4aT/uPVbAzgzb5aY01N3T39ZJMrw73Kui/cRoUS9Mw7kOnLq6tAOfUgVqbAV12X7xfzLd oWByZmAzPHFZpST+T5YlEv5L4Nh0TQteiSKgomBruJEwDQOZFKYlz+T3xKat7X137EYDsw 1QWBiMm5D4Pqp0Mt2jkM7by82PWq/1OHRc4dAyk4TV26+TqhGCVGWfFBl9Wtb9MSw79sAX KTHECGKdGAByjcr55CBiiXZ8UuF3bh1YeF5x648nQvDcjenqGc7/6Dts/GzK4j2Cxa5MlH s+om7g3IAdZrI8gOAwDdjxV3nuRBUY+YruyPPSYHsw59i3+F9WWkwkpLAArxyg== From: Troy Figiel Date: Sat, 24 Feb 2024 10:03:16 +0100 Message-ID: <87jzmu9qcv.fsf@troyfigiel.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-web.scm (go-github-com-pkg-sftp): New variable. --- gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 4f2c6f8c1a..e6b0ddec45 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1216,6 +1216,34 @@ (define-public go-github-com-opentracing-opentracing-go (description "OpenTracing-Go is a Go implementation of the OpenTracing API.") (license license:asl2.0))) +(define-public go-github-com-pkg-sftp + (package + (name "go-github-com-pkg-sftp") + (version "1.13.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pkg/sftp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0n35lzfrnrffjqy34ny6gxs27kq81s67ply6q8s1g19mhfzm6my7")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/pkg/sftp")) + (propagated-inputs (list go-golang-org-x-crypto go-github-com-kr-fs)) + (native-inputs (list go-github-com-stretchr-testify)) + (home-page "https://github.com/pkg/sftp") + (synopsis "SFTP implementation for Go") + (description + "This package provides an @acronym{SFTP, SSH File Transfer Protocol} +implementation, as described in +@url{https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt}, +for Go.") + (license license:bsd-2))) + (define-public go-github-com-pquerna-cachecontrol (package (name "go-github-com-pquerna-cachecontrol")