From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51563) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351p-00043l-2j for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351m-0006Dz-2c for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351l-0006DW-Vj for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j351j-0005m2-SK for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:03 -0500 Subject: [bug#39622] [PATCH 3/4] gnu: Add lmdbxx. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:51474) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351b-0003y9-Ka for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351a-0005ur-BQ for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:55 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:46680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351a-0005sy-5Z for guix-patches@gnu.org; Sat, 15 Feb 2020 16:30:54 -0500 Received: by mail-wr1-x442.google.com with SMTP id z7so15101124wrl.13 for ; Sat, 15 Feb 2020 13:30:54 -0800 (PST) From: nixo Date: Sat, 15 Feb 2020 22:30:29 +0100 Message-Id: <20200215213030.21121-3-nicolo@nixo.xyz> In-Reply-To: <20200215213030.21121-1-nicolo@nixo.xyz> References: <20200215213030.21121-1-nicolo@nixo.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39619@debbugs.gnu.org, 39622@debbugs.gnu.org Cc: nixo * gnu/packages/databases.scm (lmdbxx): New variable. --- gnu/packages/databases.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 587d993918..58ad64418e 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2105,6 +2105,35 @@ multiple cores. The size of each database is limited only by the size of the virtual address space — not physical RAM.") (license license:openldap2.8))) +(define-public lmdbxx + (package + (name "lmdbxx") + (version "0.9.14.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/drycpp/lmdbxx.git") + (commit (string-append version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jmb9wg2iqag6ps3z71bh72ymbcjrb6clwlkgrqf1sy80qwvlsn6")))) + (arguments + `(#:make-flags (list + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs `(("lmdb" ,lmdb))) + (build-system gnu-build-system) + (home-page "http://lmdbxx.sourceforge.net") + (synopsis "C++11 wrapper for the LMDB embedded B+ tree database library") + (description "@code{lmdbxx} is a comprehensive @code{C++} wrapper for the +@code{LMDB} embedded database library, offering both an error-checked +procedural interface and an object-oriented resource interface with RAII +semantics.") + (license license:unlicense))) + (define-public libpqxx (package (name "libpqxx") @@ -2122,7 +2151,7 @@ virtual address space — not physical RAM.") `(("python" ,python-2))) (inputs `(("postgresql" ,postgresql))) (arguments - `(#:tests? #f ; # FAIL: 1 + `(#:tests? #f ; # FAIL: 1 #:phases (modify-phases %standard-phases (add-before 'configure 'fix-sed-command -- 2.25.0