From patchwork Sun Feb 18 12:45:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 60497 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 7A27127BBE2; Sun, 18 Feb 2024 18:23:34 +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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 BF35C27BBEA for ; Sun, 18 Feb 2024 18:23:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbloQ-0007si-VV; Sun, 18 Feb 2024 13:22:50 -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 1rbloP-0007qZ-DT for guix-patches@gnu.org; Sun, 18 Feb 2024 13:22:49 -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 1rbloP-0002fJ-4m for guix-patches@gnu.org; Sun, 18 Feb 2024 13:22:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbloj-00038S-LF for guix-patches@gnu.org; Sun, 18 Feb 2024 13:23:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69216] [PATCH] gnu: Add go-github-com-coocood-freecache. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 18:23:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69216 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69216@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170828055611766 (code B ref -1); Sun, 18 Feb 2024 18:23:09 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:22:36 +0000 Received: from localhost ([127.0.0.1]:37082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbloB-00033a-Hv for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:22:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:44974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblNB-0001bb-Vc for submit@debbugs.gnu.org; Sun, 18 Feb 2024 12:54:42 -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 1rbgc9-0002pN-IU for guix-patches@gnu.org; Sun, 18 Feb 2024 07:49:49 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rbgc6-0001Ou-Vs for guix-patches@gnu.org; Sun, 18 Feb 2024 07:49:48 -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-103.mailbox.org (Postfix) with ESMTPS id 4Td5903x7Kz9sPq for ; Sun, 18 Feb 2024 13:49:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1708260580; 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=bXHd8eZOWucoOOZ2YgkpsQ0V27E8ePbNZeH/B+9ptg8=; b=Vmn1YDd23KE4aE+ZSbHG4qHPLKUgcmOrP+02NIDk+P7EsiI0Gk+QCz9Upxriwgty31T4bK yd4dFfhQ+2G+GmbnbsfvrmISaSo+eqlwWGay16GPATZwUXgg+oiDQcEQmNPqKcsPxsZD/4 1ZpigNRNKjdQnm0zdsQnG39t5yF9pNZrY99Na7hhCCcOt2Cl9IEx2+hN/GHOEqsbsQbU7o cAc5DInWoJzaQY91Rgbdfxej4qdra2sfQS5exryCoOV9fkzt7MX2cnQkWFdPXI6BaYwT4f lLlZdpEzQVh3+xmjtubg8Qwe0btpFPI7NyDoLgMuydPM73SdPjqHTcUPNJ2Neg== From: Troy Figiel Date: Sun, 18 Feb 2024 13:45:36 +0100 Message-ID: <87y1bi9btr.fsf@troyfigiel.com> MIME-Version: 1.0 Received-SPF: pass client-ip=80.241.56.161; envelope-from=troy@troyfigiel.com; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-xyz.scm (go-github-com-coocood-freecache): New variable. --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) base-commit: 2f1ed825afa535693f7fe32b9e3e9128cc8f99c9 diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index b0a5955405..ab9127f588 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -264,6 +264,33 @@ (define-public go-github-com-burntsushi-toml similar to Go's standard library @code{json} and @code{xml} package.") (license license:expat))) +(define-public go-github-com-coocood-freecache + (package + (name "go-github-com-coocood-freecache") + (version "1.2.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/coocood/freecache") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0iw0s07qy8g1lncwl524c524wh56djl0vn6i3bm91cnwzav7ihjl")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/coocood/freecache")) + (propagated-inputs (list go-github-com-cespare-xxhash)) + (home-page "https://github.com/coocood/freecache") + (synopsis "Caching library for Go") + (description + "This library provides caching capabilities for Go with no garbage +collection overhead and high concurrent performance. An unlimited number of +objects can be cached in memory without increased latency or degraded +throughput.") + (license license:expat))) + (define-public go-github-com-coreos-go-systemd-activation (package (name "go-github-com-coreos-go-systemd-activation")