From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4JuiHf536GA3wgAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 18:23:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GMxrGf536GBUHgAA1q6Kng (envelope-from ) for ; Fri, 09 Jul 2021 16:23:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 003BC9B8B for ; Fri, 9 Jul 2021 18:23:26 +0200 (CEST) Received: from localhost ([::1]:36576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1tHg-0004h2-WB for larch@yhetil.org; Fri, 09 Jul 2021 12:23:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1tES-00062a-DZ for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1tER-0005XX-Gp for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1tER-0004K4-Dg for guix-patches@gnu.org; Fri, 09 Jul 2021 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 6/7] gnu: Add go-github-com-klauspost-compress. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jul 2021 16:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49494@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.162584759516558 (code B ref 49494); Fri, 09 Jul 2021 16:20:03 +0000 Received: (at 49494) by debbugs.gnu.org; 9 Jul 2021 16:19:55 +0000 Received: from localhost ([127.0.0.1]:59582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tEI-0004Iu-Vy for submit@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:42062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1tE9-0004Ho-5G for 49494@debbugs.gnu.org; Fri, 09 Jul 2021 12:19:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HZlzQApziDHevvV0UuzIq/82Mxj7j/t0P2hWCyLs4mE=; b=NWAtW9aHwOAEzQVFvx2xHQRZIp kxWCVqSMVk0rH483LxZFjSjNPLIdITbHyg0Phf+5fDrAky+p6jRKbJ4LuGunC7BqNtXxNhelOIy/X nmRAhNHWattW1l19RcIxe04zVx3eWNDTlYW4B+FpmiX3mhM5gEAUi7odkV9uc0M5mWeusCAVwWujG Xs3/UM2fcQXucAeJODfw0EQGMspEW2TYpiNfBHUMQ98wFVY4CPuOPwnP55DqdqaMB76/bOoygqmgb phR5sykTO4V9OQ4aer1Amaymn/zMF4ii8tdLoyDDGQDfbjJew1jwJ3ho6zvLOuIaEVPI6ks8dUDOw s2NrFvGA==; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m1tE7-000ASF-CA; Fri, 09 Jul 2021 21:49:43 +0530 From: Arun Isaac Date: Fri, 9 Jul 2021 21:49:39 +0530 Message-Id: <20210709161940.12759-6-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210709161940.12759-1-arunisaac@systemreboot.net> References: <20210709161940.12759-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625847806; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HZlzQApziDHevvV0UuzIq/82Mxj7j/t0P2hWCyLs4mE=; b=qVnSoT7j1kyUmA5XnT7QS3sCreBSlMyAlqujO9ae0qaM17ccs9HtCQJSDcflQwjef7QO+F hpVj2ECLdtVUxfzMP0qCK2sDeoa+JvSKVpCkOwmT+lA3NkyjPeiwGiQrDS5GfuPXEp3Hrt +nR98lX8cVnXt8LAzYc0i1dIA11xghziQG27V6QZIz/5AHWVZRsoTIg+c4IAPk6I8zvjh2 o3vyuPWTtGqmzSj8ekT2RnuT7Im7CgMynA8mUzHg8PLizRfF9xk1F8uCMaHcSFzYQ2JQTp y9OJQdZezCg62gpPdzmJXZgY2zkRu738HqOi3ssyKjdOx7gEDlVB1qI7LbS7Rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625847806; a=rsa-sha256; cv=none; b=Tuy3NmNdkn5jbFjX0vuLqMKlxwiKoj1j6IvThxenztiPZymwHMEjcMc8VTdb9zLspvurXe IcCNIRHjO1CIuvQzoE9sJTLN3YZXR/JMStN2CIsm3c//Wfo8PAmmrezIazSAdu4VZeIG1S QtFCcKaFNIhB/y8ryWcHr653xvQcvhe51w+srKpTX+EF6g2zbvJHUmWRzrc0KqzhVFd0tA XNrLeTQXn5kftXp5LxgWyiuzY4GmRJFRp85bV6QwiKG+lW6vmDvGeOqoe3E0phRZxQ36RD qFJF8Bi6JWrmcoRy8ADHuhStXK/JDepcPLxo1T9Giz/eaMzKtlspPD22VZrPoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=NWAtW9aH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=NWAtW9aH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 003BC9B8B X-Spam-Score: 3.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: lUtynCRp0z3w * gnu/packages/golang.scm (go-github-com-klauspost-compress): New variable. --- gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5a7f27bc91..ef54e15afc 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -67,6 +67,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages syncthing) #:use-module (gnu packages terminals) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) @@ -8352,3 +8353,39 @@ is a low-level framework for building crypto protocols. Noise protocols support mutual and optional authentication, identity hiding, forward secrecy, zero round-trip encryption, and other advanced features.") (license license:bsd-3))) + +(define-public go-github-com-klauspost-compress + (package + (name "go-github-com-klauspost-compress") + (version "1.13.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/klauspost/compress") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ydnf9rizlhm8rilh14674qqx272sbwbkjx06xn9pqvy6mmn2r3r")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/klauspost/compress" + #:phases + (modify-phases %standard-phases + (add-before 'reset-gzip-timestamps 'fix-permissions + (lambda* (#:key outputs #:allow-other-keys) + ;; Provide write permissions on gzip files so that + ;; reset-gzip-timestamps has sufficient permissions. + (for-each (lambda (file) + (chmod file #o644)) + (find-files (assoc-ref outputs "out") + (lambda (file stat) + (and (eq? 'regular (stat:type stat)) + (string-suffix? ".gz" file)))))))))) + (propagated-inputs + `(("go-github-com-golang-snappy" ,go-github-com-golang-snappy))) + (home-page "https://github.com/klauspost/compress") + (synopsis "Go compression library") + (description "@code{compress} provides various compression algorithms.") + (license license:bsd-3))) -- 2.32.0