From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2CecGJKzfGJHEwAAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 09:13:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HlkGJKzfGI4TAAAauVa8A (envelope-from ) for ; Thu, 12 May 2022 09:13:22 +0200 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 1226E3F04B for ; Thu, 12 May 2022 09:13:22 +0200 (CEST) Received: from localhost ([::1]:37532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np30j-00072w-32 for larch@yhetil.org; Thu, 12 May 2022 03:13:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np30Q-0006zN-Re for guix-patches@gnu.org; Thu, 12 May 2022 03:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1np30Q-0002i0-HL for guix-patches@gnu.org; Thu, 12 May 2022 03:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1np30Q-0001RN-D0 for guix-patches@gnu.org; Thu, 12 May 2022 03:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55383] [PATCH] gnu: Add cl-lmdb. References: <20220512070908.10346-1-arunisaac@systemreboot.net> In-Reply-To: <20220512070908.10346-1-arunisaac@systemreboot.net> Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 May 2022 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55383 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55383@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 55383-submit@debbugs.gnu.org id=B55383.16523395555494 (code B ref 55383); Thu, 12 May 2022 07:13:02 +0000 Received: (at 55383) by debbugs.gnu.org; 12 May 2022 07:12:35 +0000 Received: from localhost ([127.0.0.1]:39358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np2zz-0001QX-BD for submit@debbugs.gnu.org; Thu, 12 May 2022 03:12:35 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:44112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np2zx-0001QN-7O for 55383@debbugs.gnu.org; Thu, 12 May 2022 03:12:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+qNM3H3qKmWwVe9BM8bJcId8uDjkpNZm+tPM75utm0s=; b=iDmcMzEfCwgM6dAm9/Qw96jLAg rf0MQRFuthe3B6AWZSVlb6wPNwTmb9p8iebLhtP9ohQjYClrM3kVEauqFouGzZEChS1SyZ76baJRn 7kZnRx/n7M0dHEKonieZnQNlLqfzxA6a8zJDE4hKC4bbap+W+tk1potRDbaPF1FxDTG4ccvsH6BsR 3jEpJHa9mCwW8K10qGL3V/7T4Pqd/wq6ke86h4kDXZExfyZzH+DrkhbGi6Up3AJy5D5w28fDcajDX tsPHXDRBXHdxASEbS2v8A9bXmwuA9vbNOfuZY0scIk92T94n0dCib2NXkz3EGAp3odgulDwXRFOyo //YvpTpg==; Received: from [192.168.2.1] (port=54638 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1np2zu-000Hfe-SA; Thu, 12 May 2022 12:42:31 +0530 From: Arun Isaac Date: Thu, 12 May 2022 12:42:24 +0530 Message-Id: <20220512071224.11231-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652339602; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=+qNM3H3qKmWwVe9BM8bJcId8uDjkpNZm+tPM75utm0s=; b=LyUGPP8KeHsWg9/LcOyGkLti98gyYlbeGpC7PIu39N8sozjbuDEQ9JXQZdTyaj74D+hnr5 fDlGJsZNCPBTtDnYo0QM9Ar0DMC7MBahcDy1BVBPx/IIdamiOEACUk8m5xC/sLyMyu8lLw avciS8XVKUAHDWsL05nXILuUvxfh5BVOikCmUQXTjB8lWBQ2EonjRz3mHTh6bdCsBmXY/e aAc6rDkAuLVolt12LiS/u1R2gBHHqakizNhy/xGlhlGmIE/zUGAu9BDbSVVH/vRfGtinji fK87oXvMRrsETRRMFJSrGQqAKjaNN8Q2+NzR27xlTkEO93KXbTdNuzRNILmB4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652339602; a=rsa-sha256; cv=none; b=ViWC49oTvq03J7GIjisS1iLUhSoybBjepmFZiRzIhqxyyj2l4XHZQEqC5JddopuUuHfBnM aTN+yoUgs3oPqN0K3A9swZhohC4p/vldvPKCVUa+uHZuhPnWvvxRdhlQ3MQBnYfeCZsnZL UgAmIiyMro2G0LG5M7/LGn2roklyHIOBmY7ERCQve3/dwzFtLq2HsJrw4T0b6ZFkOvdLoe yG1zKiXk2DONs0rjEPL8X0O+6uxD5VuymPw7fBgFtgA7TuROu/l+2/lq3O3lEkW0KdFCBx /2026WUOgbd57cCBElqMIyJuooNekL2X5XLOooMgz6k5bEmYvjoHCT7j/YyszA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=iDmcMzEf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (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" X-Migadu-Spam-Score: 5.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=iDmcMzEf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (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" X-Migadu-Queue-Id: 1226E3F04B X-Spam-Score: 5.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ez3xjAGWLF2U * gnu/packages/lisp-xyz.scm (sbcl-lmdb, cl-lmdb): New variables. --- gnu/packages/lisp-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ab264923c3..33b3957464 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Thomas Albers Raviola +;;; Copyright © 2022 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ (define-module (gnu packages lisp-xyz) #:use-module (gnu packages) + #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -21269,3 +21271,53 @@ (define-public cl-formgrep (define-public ecl-formgrep (sbcl-package->ecl-package sbcl-formgrep)) + +(define-public sbcl-lmdb + (let ((commit "f439b707939a52769dc9747838ff4a616fab14a3") + (revision "0")) + (package + (name "sbcl-lmdb") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/antimer/lmdb") + (commit commit))) + (file-name (git-file-name "cl-lmdb" version)) + (sha256 + (base32 "0akvimmvd4kcx6gh1j1dzvcclhc0jc4hc9vkh3ldgzb8wyf4vl8q")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/lmdb.lisp" + (("\"liblmdb.so\"") + (string-append + "\"" (search-input-file inputs "/lib/liblmdb.so") "\"")))))))) + (inputs + (list lmdb + sbcl-alexandria + sbcl-bordeaux-threads + sbcl-cl-reexport + sbcl-mgl-pax + sbcl-osicat + sbcl-trivial-garbage + sbcl-trivial-utf-8)) + (native-inputs + (list sbcl-try)) + (home-page "https://github.com/antimer/lmdb") + (synopsis "LMDB bindings for Common Lisp") + (description + "LMDB, the Lightning Memory-mapped Database, is an ACID key-value +database with multiversion concurrency control. This package is a Common Lisp +wrapper around the C LMDB library. It covers most of C LMDB's functionality, +has a simplified API, much needed safety checks, and comprehensive +documentation.") + (license license:expat)))) + +(define-public cl-lmdb + (sbcl-package->cl-source-package sbcl-lmdb)) -- 2.36.0