From patchwork Sat Feb 15 21:30:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nicol=C3=B2_Balzarotti?= X-Patchwork-Id: 20262 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 D6D4D27BBEA; Sat, 15 Feb 2020 21:31:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5F27327BBE4 for ; Sat, 15 Feb 2020 21:31:29 +0000 (GMT) Received: from localhost ([::1]:54880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3528-00044c-Sb for patchwork@mira.cbaines.net; Sat, 15 Feb 2020 16:31:28 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#39622] [PATCH 3/4] gnu: Add lmdbxx. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Feb 2020 21:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39622 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39619@debbugs.gnu.org, 39622@debbugs.gnu.org Cc: nixo X-Debbugs-Original-To: 39619@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158180225922130 (code B ref -1); Sat, 15 Feb 2020 21:31:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2020 21:30:59 +0000 Received: from localhost ([127.0.0.1]:36463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351f-0005km-0e for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:60728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j351c-0005kM-RG for submit@debbugs.gnu.org; Sat, 15 Feb 2020 16:30:57 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q6e9jSVY/arALG4JyqVzGe44KIszneutgCFQURNfKtc=; b=iBT8QDsBPv5WpbrepNOZKPcTHV/dzdhXvpS1UgM0IEfeVG8pa8Pz3mGQ9CL/Yly6yf kZuQEVTGXAD2x8rR1f+rn327NLjZYIcXLBBNfs0moWz/uBQhXJUcjQkhl986omluo7FX BRBczkE4y/OayQUGWkXPhtUFRcjFFHpks6Kwj1zsyQ4YjNcY1rj/CmmFeqKUxZP1SmM5 haS62wDuoxCOMtmIJgqGjta5x0bMKE2uh1wJb3zstndddUdudfqa0VQozzv6wuXxtiQU UOMdrGm/svNlrWfaHqymNdJzVg2sbxx99tLnf3suYXGJ7XiVJ06ZYlKnzUuRS7+VTx40 GjMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q6e9jSVY/arALG4JyqVzGe44KIszneutgCFQURNfKtc=; b=N6mrEbMHxSaXK2wkwv8qsrWpkZYLNsnaxH31Xz4l9uBJEGqACSksWMsChQCNxkKQqB vSq10uvZcEaQAKspI0IHo63oXHmrYLkIsY55vWdihVBZMpSgfQZ0HaK2csE2+wQWZzb1 uwFipF6n5Tx9LkYnlndJ+eoRWLJUQUyeQv8YwIOdfUIKICToedRRv6BtL7svdQ/wY73B HAfFXXx6S8yXBvwIDbbJcBgNvQKgi41yCwE/FBIqnEWt4JYj8ghhSb6ZSXoUVFF1yGkl d7v45UFLvcTm31ov2SJ48oNVq0KF50yVJTwHA8KkOAoQBIR7aE9yjjx+EkoDcv0sMuvZ 39wQ== X-Gm-Message-State: APjAAAWz7hWhFpdw4A+4Wkatb3Fubm3dsxfvGcR6WeB81qqy2A1MTSTv Lgx0/J3ed0ynOon1gIomQ9g= X-Google-Smtp-Source: APXvYqyUDeuoXHdq/gA7tM5JVMlX+SzfDVxpwQcKO9icMe2cczIKO7EGxyNaxukSP3ZxJFPblQPjiw== X-Received: by 2002:adf:eb51:: with SMTP id u17mr12420859wrn.29.1581802253182; Sat, 15 Feb 2020 13:30:53 -0800 (PST) Received: from localhost.localdomain ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id f62sm13758809wmf.36.2020.02.15.13.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 13:30:52 -0800 (PST) From: nixo X-Google-Original-From: nixo Date: Sat, 15 Feb 2020 22:30:29 +0100 Message-Id: <20200215213030.21121-3-nicolo@nixo.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200215213030.21121-1-nicolo@nixo.xyz> References: <20200215213030.21121-1-nicolo@nixo.xyz> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * 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