From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KLB/G2jk4GH0EwEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:48:08 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aC8dFGjk4GEyPQEAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:48:08 +0100 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 aspmx2.migadu.com (Postfix) with ESMTPS id 1724428FC4 for ; Fri, 14 Jan 2022 03:48:04 +0100 (CET) Received: from localhost ([::1]:43880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8CdH-0004p0-GE for larch@yhetil.org; Thu, 13 Jan 2022 21:48:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcR-0002dH-Tj for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcR-0007q9-Fo for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcR-0000ZJ-Ey for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 01/24] gnu: Add ghc-cache. References: <20210927020943.GC2089@singpolyma-beefy.lan> In-Reply-To: <20210927020943.GC2089@singpolyma-beefy.lan> Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421284111982 (code B ref 50835); Fri, 14 Jan 2022 02:47:11 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:51 +0000 Received: from localhost ([127.0.0.1]:35054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Cbs-0000VZ-Bi for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:51 -0500 Received: from singpolyma.net ([192.99.233.116]:57401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbH-0000PJ-JY for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:14 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 627754861708; Fri, 14 Jan 2022 02:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128358; bh=GVvv9qMt1ThPiOZBrSok7Klhi330e0UkrwxpSBzDgMo=; h=From:To:Cc:Subject:Date:From; b=i977Hd6wkW7rQjAyN8bzseUkK5xKWXSDKUmZyQeeaVfocRC2uyNwVT6Ao53gwDBDb nQk9th4xXXXxIGsPZSXRxKYydMtJyotTs6QPuQJW4/ocFs3Wu92eAfU6xmWTP06S6v eUDK3bI+H9cJIeW4eJ4blU8rUj2ewCsI0j6MD/mo= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:23 -0500 Message-Id: <20220114024546.75747-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642128488; 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=uor00Euf+u3v4pHktAyLL8yg4mQz4YDiZSZoqqzkpEA=; b=s+K1v6DWL1cDvAc9CexTEyfSbDcwfelC6Zf1p/Cv19qihxq9iCOZlENjvu8keq+nxI21Uz 2R4ALL9xXelO7mTTmAibyhtSZcQRqJ+7pq4Q8QydcPoYm4BDFM+gBL5zWaxpXikcMMw8vB NmnxtzTM3v+0JWBCe+KSIt7YgCBA2KyHsvxkBLIDX5sJk+eF1/qdhyimW5kWLkFto6402x hRYCbUG7VSPsnobBiRhdImvorGM9SXfQ7dCIu47jvGUcfa2T748w0PwL3X4Kgn+HxDeCfK Io18f7ZbTW6rZZ0veCG5xzVpgDudqt3vLFkVpH+et+k2Lt4exx0WMGNvtlZXRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128488; a=rsa-sha256; cv=none; b=QKe9jL6IM8XRbab6aBuq2emh6M3DBCs8JpSbsYZqygnxUZh9QGAXy4t9fkB5G0FsIJu4jv Ubf5tVGJlGjeS3LFcU+VEa2s6kPf1ApzAMClDA6xuaFL8nFDGcONQoLgMdLU2ZMBEs6IKV FTmnOukMjk6dtIUJlPA5TTZj5tsWhaDE8lfj3SeqwSl9v6u/Hvuoj1VV1yMYj90+okfnIA 4npVRF/TlgZPDuG3zRfMSNPAtZ/moEAgdOxshF8e4TGQXSGd3ECcUbX653efEAmCajiuOe esRmfrPlDbyhb169Y5VJGUZL0vmThk0DTREPwnqMWuLoo8/Cg/6ph4MBwSpW/g== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=i977Hd6w; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx2.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" X-Migadu-Spam-Score: -1.02 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=i977Hd6w; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx2.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" X-Migadu-Queue-Id: 1724428FC4 X-Spam-Score: -1.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: fo1J2DXBYwa9 * gnu/packages/haskell-xyz.scm (ghc-cache): New variable. --- gnu/packages/haskell-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1d86fe0c47..8260bb7dc4 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16027,3 +16027,33 @@ data Dec a "This package provides Type-level booleans.") (license license:bsd-3))) +(define-public ghc-cache + (package + (name "ghc-cache") + (version "0.1.3.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cache/cache-" + version + ".tar.gz")) + (sha256 + (base32 "0d75257kvjpnv95ja50x5cs77pj8ccfr0nh9q5gzvcps83qdksa2")))) + (build-system haskell-build-system) + (inputs + (list + ghc-clock + ghc-hashable + ghc-unordered-containers)) + (native-inputs + (list + ghc-hspec + hspec-discover)) + (home-page "https://github.com/hverr/haskell-cache#readme") + (synopsis "In-memory key/value store with expiration support") + (description + "Cache is an in-memory key/value store with expiration support, similar to +patrickmn/go-cache for Go. The cache is a shared mutable HashMap implemented +using STM and with support for expiration times.") + (license license:bsd-3))) -- 2.30.2