From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wLc3HuIkgWbrNwEA62LTzQ:P1 (envelope-from ) for ; Sun, 30 Jun 2024 09:26:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wLc3HuIkgWbrNwEA62LTzQ (envelope-from ) for ; Sun, 30 Jun 2024 11:26:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=m1cSqeAe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719739618; 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=xE5BmT/Rgo1wQJi/lpXP0dPyiFhvBFydEk7JGXmcduk=; b=M/32EAA598qGAlSG/OQX/yW3a0nVo4X4c4zx3kIKn5W/MhT3bdbRuS795yRIroQAzFgXRD Ny9sbCMboo1S/nLsGlG6V35fWhgW5p5U1C/4bk2zQYRI17XgInxVHuugDiAcNTvpTMeaqA yHT/ROlPSW6HMtil9OollqS8N3JrS5JiIvvWJ4uouxDqxpDceprzfbjQ2W8e78NXaH+6l8 rsdy6mVS3weU2cnNCTwV2qur++tO1wL9zCZu/V5+H7eRFbQCAqQriIukwRH93b+D+Cu88Y iOS8lcv0BYMgCJyFvKS6GZIOPaR38s6H+xqBptv1pKogQK2PFDMDBPNhQ3VtiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719739618; a=rsa-sha256; cv=none; b=lgg0VEujHiCOSmYZDg182aOx1xDr4gliIocU5DGYmAOCLn5vNuYzedZT+jKxGESUm+tdlB Lcbrf9h7GAWRWm7z6ao/gYpmhm9f2RBnzwBSCOsXgfyuDZupzk/LlwSyX+yZTk0kdlTlHf WwHsdlMEBeb6YmbwaGnqUlqR3zimeYKPwDs0QEm2ylnIuIG5EQAx867vGFD9SmDhSZYxS6 cXYo6yynpnz8eW7Fj7LCTp0YHCb0Z+Fv3RfcKgIDTMDJXHijPvZuejg1YuQ0J6JISM7my2 WEMGT1Kamzx17eatGWRJUYc0UEENdUn8LUeLvTXv9pYmmJa+uH+UdGrriCIZRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=m1cSqeAe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 2BD4730FD6 for ; Sun, 30 Jun 2024 11:26:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNqXY-0006EM-I1; Sun, 30 Jun 2024 05:08:08 -0400 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 1sNqXW-0006D4-OK for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:06 -0400 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 1sNqXW-0001fE-GD for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNqXW-0001tU-8u for guix-patches@gnu.org; Sun, 30 Jun 2024 05:08:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2024 09:08:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71843 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71843@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 71843-submit@debbugs.gnu.org id=B71843.17197384537058 (code B ref 71843); Sun, 30 Jun 2024 09:08:06 +0000 Received: (at 71843) by debbugs.gnu.org; 30 Jun 2024 09:07:33 +0000 Received: from localhost ([127.0.0.1]:55023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNqWz-0001pf-2J for submit@debbugs.gnu.org; Sun, 30 Jun 2024 05:07:33 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:60792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNqWu-0001nN-IS for 71843@debbugs.gnu.org; Sun, 30 Jun 2024 05:07:28 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-424adaa6ceeso12846825e9.1 for <71843@debbugs.gnu.org>; Sun, 30 Jun 2024 02:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719738383; x=1720343183; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xE5BmT/Rgo1wQJi/lpXP0dPyiFhvBFydEk7JGXmcduk=; b=m1cSqeAetuJLzDxjy9zH2ZXgFesqUc1jr5ZsXW4GIRHo/EonCbDgH2yd0nXyYVuKp1 I4kKkezfjhAukbFDffq2mHGEogMK+RLGkPA2tRppc8cO4SnOwI9jdRnffPl7QOs0E2MQ oh4M1P2kGguzY0kupBTeDjYL2BjA/+D3QBww/Ckl4SmdaiYXh6Odb6tHUNmjfkDGvy+j EbRykR7mYQIVmxP5iRo90SoEwuFCXgAozLdm83YqWWq1znpACN+lZqbK9sKHqjIcxMMo aD2xWF/5qEr1PTl43zHscz2LXMA8aDNgYnwImyUeyjlLTWYW+m943VMQaxAaX2fTril1 AmTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719738383; x=1720343183; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xE5BmT/Rgo1wQJi/lpXP0dPyiFhvBFydEk7JGXmcduk=; b=gSZzdTpJENiiMzbDoaV7RlXj9cbQnXf+wwcjYmix09ZAm9BCpDpZ5hKPkAKjqYYg6F a23givGPguw7PeN0i4mLjLKZBpZmTJJnWgNn9MPqpxwhGAUOtSjA5sc2TXV88y2vCsPW h1MnewikbP/DApfcjB9/7b8vKMSkCqdPJCvXOCXcGGzicdlFsZwRTCNSbna2tMtk5lXA I4EoBgyof6rZ6B0grAeARnfw41unHX9Y+XMH5rbbeGumqY5PGobGrR5Hfd243ukWLCqz 57Ndpp1uPNBNTQ28+QYS19oRe/XInf1cxiIQp0D/zxwuC6MSLkrX7nLCr9qWvtWJs6eP eiKA== X-Gm-Message-State: AOJu0YzDF7f6kNsfADajt9rUYAlXPhqwKy7AW/4GBuE9YPwcw4eLjGPv x5D2jaw8UMxCORTNumycBhIHFPWqztOY53QCI5x8g30R+nJRbGR5NEOWgasP X-Google-Smtp-Source: AGHT+IEGJ3Z/qQFecVqn8IMkqpq+2prwxqjbmi+7mYm2psUiRImX3XHCCQdaNbK6lrMuMKpQmlgWAw== X-Received: by 2002:a05:600c:4784:b0:425:6bc4:c006 with SMTP id 5b1f17b1804b1-4257a02c8b0mr19771505e9.16.1719738383118; Sun, 30 Jun 2024 02:06:23 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af5b66csm103446845e9.18.2024.06.30.02.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 02:06:22 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 30 Jun 2024 10:05:47 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2BD4730FD6 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.78 X-Spam-Score: -3.78 X-TUID: UL/PVBQ7E7kq * gnu/packages/golang-compression.scm (go-github-com-dsnet-compress): New variable. Change-Id: I232f2d8cc6bb5eb4c850f233b2e2788d0f2fb35b --- gnu/packages/golang-compression.scm | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm index ddeb65a967..85b2e3505b 100644 --- a/gnu/packages/golang-compression.scm +++ b/gnu/packages/golang-compression.scm @@ -63,6 +63,56 @@ (define-public go-github-com-andybalholm-brotli @url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.") (license license:expat))) +(define-public go-github-com-dsnet-compress + (package + (name "go-github-com-dsnet-compress") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dsnet/compress") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wwjaymzb1xxq3ybch3nwn72xhi2s40cvz0cl986yad3w1xwzj91")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/dsnet/compress" + #:phases + #~(modify-phases %standard-phases + ;; Testdata directories contains some compressed files requiring + ;; for running tests but not required on run time. + (add-after 'check 'remove-testdata + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/bzip2/testdata")) + (delete-file-recursively + (string-append "src/" import-path "/brotli/testdata")) + (delete-file-recursively + (string-append "src/" import-path "/testdata"))))))) + (propagated-inputs + (list go-github-com-dsnet-golib + go-github-com-klauspost-compress + go-github-com-ulikunitz-xz)) + (home-page "https://github.com/dsnet/compress") + (synopsis "Collection of compression libraries for Golang") + (description + "Package compress is a collection of compression libraries implementing +Golang moduels: +@table @code +@item brotli +Implements the Brotli format, described in RFC 7932. +@item bzip2 +Implements the BZip2 compressed data format. +@item flate +Implements the DEFLATE format, described in RFC 1951. +@item xflate +Implements the XFLATE format, an random-access extension to DEFLATE. +@end table") + (license license:bsd-3))) + (define-public go-github-com-golang-snappy (package (name "go-github-com-golang-snappy") -- 2.41.0