GNU bug report logs - #68552
[PATCH] gnu: Add duckdb.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Greg Hogan <code@HIDDEN>; Keywords: patch; Done: Sharlatan Hellseher <sharlatanus@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 68552-done <at> debbugs.gnu.org:


Received: (at 68552-done) by debbugs.gnu.org; 14 Feb 2024 12:14:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 14 07:14:51 2024
Received: from localhost ([127.0.0.1]:50658 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1raEA7-0000Y5-IB
	for submit <at> debbugs.gnu.org; Wed, 14 Feb 2024 07:14:51 -0500
Received: from mail-wm1-f43.google.com ([209.85.128.43]:47262)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sharlatanus@HIDDEN>) id 1raEA5-0000Xs-Hm
 for 68552-done <at> debbugs.gnu.org; Wed, 14 Feb 2024 07:14:50 -0500
Received: by mail-wm1-f43.google.com with SMTP id
 5b1f17b1804b1-41102f140b4so14691435e9.2
 for <68552-done <at> debbugs.gnu.org>; Wed, 14 Feb 2024 04:14:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1707912805; x=1708517605; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=I+PPFLuG3QVpoTHWzR7adPUo5e1oEmCE4CH5OTAHmjA=;
 b=dUy86Ih2LlKenmeln4WR45xogRbSf03qThWaFuR77y3VdoWl7YA+B3OEw/iaWouTJW
 B2GLDkjWSYninB6d3bMfvcPDuEVucpU4vGWd+mKI2m/1qoTM3TTACvYa/UJ0kmM3ZJW/
 Z16gwkJ6D0HHoKDJSBv+JaSvi5hJOIVy/SxLvx/XN3KCu99TFzkjO/kRFAIfha0kr6DH
 DbiA3WD3IB0SL48n5hXr5NLQh/hsqRyfdvPipwhgNWqzMgSsatn+D0J4obUHujaQ9hMx
 CIFxpXy2ntS2zs30J2IPLnheNeD6/XTYuIqYifpJ3pGJxs9nLM8ynKvWPcz/ydAcdglr
 4qVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1707912805; x=1708517605;
 h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=I+PPFLuG3QVpoTHWzR7adPUo5e1oEmCE4CH5OTAHmjA=;
 b=IKh4wOikXRIlzIESw0l/DJPLv0cEiPWQvK1LQmUCoHU4UzrYpNNYV/hpUbq877BTni
 HCdTdo3vpIDaxQMFmfMrv/hrQBbEi5IO+B6Ua5ugQB0Gasiq309lWc66umkX8zaR7uRw
 4Z0s623j4v/7WG91zK8btyvxHWnGIC5DG/4x1qeJyfFjI5QgIRJvt5/louL4lBX+HPxm
 ifnixyPrRqDo3PTpo/WmLVa0WRJqYMbTQcGsMcX3Ug+EjccUBUcumuzmiYsDlm0Wg052
 PZTNG72q9LsvBVp0Etb1/i30G+pF3KQUHWMS/D1IEx5skbCExWnKC/jW5ZIQasLh2HUP
 gh6A==
X-Gm-Message-State: AOJu0YxFeFpUMrtDbLBIIIVf6m6zDZhf04XrTMpWEXeLZpPJ/Mu208cR
 A/cjzZzkDY8Ap2myfpgnqeEZWLlu3b+0oVEdbChybyD2YWeUTg8nWDs+UOpCvSMESA==
X-Google-Smtp-Source: AGHT+IFOyPrkQMDxcxHoAzvxaZyaVoiFreuArJpB6DSF/WbPniYWx/JdwhfRaXYCJqb10m7+yODv9Q==
X-Received: by 2002:a05:600c:3d89:b0:410:d3b8:9f9a with SMTP id
 bi9-20020a05600c3d8900b00410d3b89f9amr1991387wmb.5.1707912805297; 
 Wed, 14 Feb 2024 04:13:25 -0800 (PST)
Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net.
 [82.25.93.113]) by smtp.gmail.com with ESMTPSA id
 n13-20020a05600c500d00b00411fb769583sm418549wmr.27.2024.02.14.04.13.24
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 14 Feb 2024 04:13:24 -0800 (PST)
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
To: 68552-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add duckdb.
Date: Wed, 14 Feb 2024 12:13:21 +0000
Message-ID: <87le7nnt0e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 68552-done
Cc: Greg Hogan <code@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.9 (--)

--=-=-=
Content-Type: text/plain


Hi Greg,

I've pushed it as 3fa4a8baf3fb735a09ed915abd4f61600e2d77e2 to master.

There is a new released published on 2024-02-13
https://github.com/duckdb/duckdb/releases/tag/v0.10.0. I tried to update
it but it requires more work as it failed to build.

If you have some spare time, may you take a look at it please?

Thanks,
Oleg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXMrmEACgkQdtcnv/Ys
0rUaKRAAnHFMJcjF4IgxlPGZ423bTALqo6K+GecDqtsYgXs/KctAon1cSwZfM9Nw
dUS8TT+2mepT65sQF0lwEuzDwbvP7RrdM7N6uYuuy3VSdX/OyP5pywXsrr1c6/jw
2PWDRwBoi5fAHiY85GIHJNFXRGW+B/lV1Ts2ztmF6f2OjL4tuhF1zeNR79GhKApX
TK9VN+u5rKvdlvUVTPMpNoVOFsOq+ZfieuHs1f1R2Ycahn/lBF8ETsgasyI2O+L6
GohNIdUEAoT15U3ank5ogfqaAwtrpNUXMcSrOLNVuHiydKpYro9cF4vleuTg8xIU
mYDdPTFe/Tey/MzYyAjNQCfemitrj9W8kqSAAlf0nYT+jki/VGEX45nj+r92STHy
+OgCVFIQDhoEsWM+OkE/ei0KN/jgQ0DYArGzmRvjwaBu008GMigBjMKRnDAmGqR/
71NR67+CZ4EBJ0wtDvFOcr0NSk5fQMvgme2R+Egp7X/odSOSQcSaBuag3YICXiiZ
HYRc0mJMVGvzIln9KaAvTs/+nz4TLM5aL+QhpDjzhumQoG112o6WkWO5AnnnRw1f
Elq8WwOhaNCyH9fKl8sWvoySRud1aaBSVex3jG7AGAGJ2jpkuE447/YOPKok26ab
MIMK8i2CAp1zfxhgH2MFJl1FhiFZ+VhUhnPkR3e0F8YmA7LVdds=
=7FyQ
-----END PGP SIGNATURE-----
--=-=-=--




Notification sent to Greg Hogan <code@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Sharlatan Hellseher <sharlatanus@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 68552 <at> debbugs.gnu.org:


Received: (at 68552) by debbugs.gnu.org; 30 Jan 2024 17:10:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 30 12:10:36 2024
Received: from localhost ([127.0.0.1]:36606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rUrd5-000514-Sl
	for submit <at> debbugs.gnu.org; Tue, 30 Jan 2024 12:10:36 -0500
Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:58577)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <code@HIDDEN>) id 1rUrd4-00050p-1M
 for 68552 <at> debbugs.gnu.org; Tue, 30 Jan 2024 12:10:35 -0500
Received: by mail-qv1-xf2b.google.com with SMTP id
 6a1803df08f44-6818a9fe3d4so29913906d6.0
 for <68552 <at> debbugs.gnu.org>; Tue, 30 Jan 2024 09:10:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1706634619; x=1707239419;
 darn=debbugs.gnu.org; 
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=fWOD/XASMXvDB66lvzdA8bygl+ecnsmbJQTLcWT2UKc=;
 b=kwSws9MzvfVpIEF0aWjx7R3CN6zp6gVZRVJ+IsaYQWpmY5/59nXki6erHEtAMA1IIw
 qHjCeogjfpY+FD3BVjS6zg05US/OHMbqqS1k+6Sc33FFRvMk3ofvrDFVh6IXhTbLnIEo
 llq10Y4G09FtkObCHqIbFqYs0JwHcUGJKeXHLe7wQckEvnk2SreXm9rEoci0TICGqHq4
 64bREA+egV4b7cg7JgVEN64selvgQaRBB/c+WNAhUb15Xru/XS+Bg2emBdKbeK8PNrqz
 XB/gVCKt/zYZxdkJAcy9ScEQG/nSAQtPSwvo1gAEHWw8Q+0JMlaTNEMU8YzjvnN+kYjZ
 nlgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1706634619; x=1707239419;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=fWOD/XASMXvDB66lvzdA8bygl+ecnsmbJQTLcWT2UKc=;
 b=clgWqyrVnzi7WX9K/5S1fnfmZWaZ1YEf0X/9BKA479vLE64A4opk64oJdaxhl/AYl3
 5pY8VTlxCSsQCj5n2powBGXFlcgwsv1Jtp8xjTEeA1WnoNIT8RXrO647S4RY5qBIXwdK
 HOe9DkQLnRhoBZDBzfX60u7/SErOHU/xaqNdkjmNSOFoU3/BsKuC6x6g49LLpuXvEMAf
 lGdkiTzGqom4NZwqibhMKvv9fyTSOhcF4A60N/SbOzqLbPzKQkSDZxcDdfMVo9f8PthS
 AJ8P/mcx7RaOjy4DC/VC3sHUjHsQhpvfvF0I+uv1+SIkRcMJCaaFWuR3XXBVBxEJBk/q
 56dQ==
X-Gm-Message-State: AOJu0YywhEYLRZy2xr9vfYMcw/ASSkNJsyYAPAUj0YzX6hdvy/wa9wLE
 xzvruhD9EAN1ahhT7pwST0PxIReLS4WCBJilPvKqjUw/PjpY/suES4myQ6AQxHI4kowJRejSNwy
 1
X-Google-Smtp-Source: AGHT+IFHyJVNFnv14s0zVzNGI22tsrj/YFyHDPqrxhnez0nY5a7wT+dgJX9gxNSlluxdwf4b32O5tw==
X-Received: by 2002:a05:6214:4119:b0:68c:5c6e:cc0a with SMTP id
 kc25-20020a056214411900b0068c5c6ecc0amr2669306qvb.127.1706634618694; 
 Tue, 30 Jan 2024 09:10:18 -0800 (PST)
Received: from ip-10-114-89-186.evoforge.org
 (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183])
 by smtp.gmail.com with ESMTPSA id
 md18-20020a056214589200b0068c520c310esm1763868qvb.88.2024.01.30.09.10.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 30 Jan 2024 09:10:18 -0800 (PST)
From: Greg Hogan <code@HIDDEN>
To: 68552 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add duckdb.
Date: Tue, 30 Jan 2024 17:08:49 +0000
Message-ID: <e7cc184c3606724d1fa199ddf5482aadf37616d0.1706634475.git.code@HIDDEN>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 68552
Cc: Greg Hogan <code@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Per the review, v2 updates the synopsis and description and moves the
patch to databases.scm.

* gnu/packages/databases.scm (duckdb): New variable.

Change-Id: Ic689dbd4bb91a2c806f846464e2af95be50cd069
---
 gnu/packages/databases.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b56767d311..20766aeb55 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -46,7 +46,7 @@
 ;;; Copyright © 2020 Vinicius Monego <monego@HIDDEN>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@HIDDEN>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@HIDDEN>
-;;; Copyright © 2021 Greg Hogan <code@HIDDEN>
+;;; Copyright © 2021, 2024 Greg Hogan <code@HIDDEN>
 ;;; Copyright © 2021 David Larsson <david.larsson@HIDDEN>
 ;;; Copyright © 2021 Pjotr Prins <pjotr.guix@HIDDEN>
 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@HIDDEN>
@@ -5329,3 +5329,36 @@ (define-public datasette
 It helps people take data of any shape or size and publish that as an
 interactive, explorable website and accompanying API.")
     (license license:asl2.0)))
+
+(define-public duckdb
+  (package
+    (name "duckdb")
+    (version "0.9.2")
+    (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/duckdb/duckdb")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0dbsxyiz7c8sxflbfj87qv0b2s69zk802vsk5h00ra8w8fcbqlj0"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            ;; There is no git checkout from which to read the version tag.
+            (substitute* "CMakeLists.txt"
+              (("set\\(DUCKDB_VERSION \"[^\"]*\"")
+               (string-append "set(DUCKDB_VERSION \"v" #$version "-dev0\"")))))))
+    (build-system cmake-build-system)
+    (synopsis "In-process SQL OLAP database management system")
+    (description "CLI and C/C++ source libraries for DuckDB, a relational
+(table-oriented) @acronym{DBMS, Database Management System} that supports
+@acronym{SQL, Structured Query Language}, contains a columnar-vectorized query
+execution engine, and provides transactional @acronym{ACID, Atomicity
+Consistency Isolation and Durability} guarantees via bulk-optimized
+@acronym{MVCC, Multi-Version Concurrency Control}.  Data can be stored in
+persistent, single-file databases with support for secondary indexes.")
+    (home-page "https://duckdb.org")
+    (license license:expat)))

base-commit: c2935acbfc7388f0f3eb3f783c8e54b8b05a2983
-- 
2.43.0





Information forwarded to guix-patches@HIDDEN:
bug#68552; Package guix-patches. Full text available.

Message received at 68552 <at> debbugs.gnu.org:


Received: (at 68552) by debbugs.gnu.org; 20 Jan 2024 12:49:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 20 07:49:07 2024
Received: from localhost ([127.0.0.1]:33113 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rRAmZ-0006yM-FU
	for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 07:49:07 -0500
Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:56436)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sharlatanus@HIDDEN>) id 1rRAmV-0006xm-UC
 for 68552 <at> debbugs.gnu.org; Sat, 20 Jan 2024 07:49:06 -0500
Received: by mail-lf1-x135.google.com with SMTP id
 2adb3069b0e04-50e9e5c97e1so2037408e87.0
 for <68552 <at> debbugs.gnu.org>; Sat, 20 Jan 2024 04:49:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705754934; x=1706359734; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=a/tQigFEXs75bPjfTNo1jl/g3EuNNAMMUL+000ufkQc=;
 b=ndfrg/6KdSMTKodyhY6QGoUFeEzwTL5JyCjqB7ZFlR+Mmp+v9MJMETfZfjQHW7Nchc
 mUMa5KMDovoe/DmkZO8UWC+2xTMR4UCBaz1jGTqFdLslz2/czYDyx8N6IoNDOrEweds9
 uLcGXIH+D09EEJmj3g9x8bWLUSdfyznJWMiL6DxJ196tz68/mtYaCsKmRH046IFSibDe
 F9jM/eOZPzv1uHwSQ/+wAPSk3frF8SvyLpN6Ak/gPCFF8YQsuCZ1Mzn2MOX1GtDLcVko
 dllyrv9vd67sdmLKX3RxSuUiO+FiNivHlWOHPM8yi/7ytCA8PJYn01JwOjZdCaMrJcf6
 XOAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705754934; x=1706359734;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=a/tQigFEXs75bPjfTNo1jl/g3EuNNAMMUL+000ufkQc=;
 b=mm0dBTfejOgK025XvgRMwpWGm9R4dZpKaMGlLPBRxkQHMp4fCw9A5jVOc3cstlfgrp
 EyN/GPtOnQQOh4GWA1363JxF9rBaVWGbpqxiIO8SqOIDq5YOIyybWHWak7PcGXqwfCgX
 AoUg41ARzDIKRQUkF68GmWhZKvns0cUvq7agBKoTi4orCxtlEEsx28fjTi/uk+AbNwAd
 Mj/NES8mpA1FxXT+nA/T82YKBmX8ajMHHIGNjPVrcsr97qo+RCwtP6hBvVGXjMKGlM81
 GaHahJv81nJ5WqbIb4tcvfF7dD8YQsQt/F6sQ1I24ZDlIviNlHxfY/RBgFMVVwEAh/Yd
 KUVg==
X-Gm-Message-State: AOJu0YyIp3Yn77Ue0hLodQAp9TrsIHxBrPB5qiGk/r38ExZrGS4K53+Q
 I9f/L3K0ih/7rSQKptOjTEVxEVMUa2o8EVEfaNYYyYgMHurTbp4JvWS8kdyHOt9K/flOJrMHxI8
 AjFZsyWldhncKu30nZ8SxJTqbaNDED0/rnd8=
X-Google-Smtp-Source: AGHT+IEO1YldF9C7XN0F+jU73Dc1wyBb3xWdyF0Q1EnldftcH1drUt7KD2GeKdT6NNxzP0lYPwjX/ceZ4fFmMJkjtHs=
X-Received: by 2002:ac2:5d2e:0:b0:50e:714f:f2ca with SMTP id
 i14-20020ac25d2e000000b0050e714ff2camr447518lfb.91.1705754934333; Sat, 20 Jan
 2024 04:48:54 -0800 (PST)
MIME-Version: 1.0
From: Sharlatan Hellseher <sharlatanus@HIDDEN>
Date: Sat, 20 Jan 2024 12:48:44 +0000
Message-ID: <CAO+9K5rYJLmVt1hVsTE9hHuPUwmED4ojNyQeZVGmgqrtOs1t7g@HIDDEN>
Subject: [PATCH] gnu: Add duckdb.
To: 68552 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="000000000000ef54ae060f600422"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 68552
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000ef54ae060f600422
Content-Type: text/plain; charset="UTF-8"

Hi,

Thank you for the patch.

There is one minor lint warnings in QA, and maybe it more suitable for
databases module (based on description)?

Thanks,
Oleg

--000000000000ef54ae060f600422
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi,<div dir=3D"auto"><br></div><div dir=3D"auto">Thank yo=
u for the patch.</div><div dir=3D"auto"><br></div><div dir=3D"auto">There i=
s one minor lint warnings in QA, and maybe it more suitable for databases m=
odule (based on description)?</div><div dir=3D"auto"><br></div><div dir=3D"=
auto">Thanks,</div><div dir=3D"auto">Oleg</div></div>

--000000000000ef54ae060f600422--




Information forwarded to guix-patches@HIDDEN:
bug#68552; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Jan 2024 21:50:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 17 16:50:04 2024
Received: from localhost ([127.0.0.1]:53678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQDnQ-0001BH-2C
	for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 16:50:04 -0500
Received: from lists.gnu.org ([2001:470:142::17]:39870)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <code@HIDDEN>) id 1rQDnL-0001AV-72
 for submit <at> debbugs.gnu.org; Wed, 17 Jan 2024 16:50:03 -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 <code@HIDDEN>)
 id 1rQDnC-0004aK-Jn
 for guix-patches@HIDDEN; Wed, 17 Jan 2024 16:49:50 -0500
Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <code@HIDDEN>)
 id 1rQDnA-0004ZB-5k
 for guix-patches@HIDDEN; Wed, 17 Jan 2024 16:49:50 -0500
Received: by mail-qv1-xf34.google.com with SMTP id
 6a1803df08f44-68188b2dffcso2193216d6.0
 for <guix-patches@HIDDEN>; Wed, 17 Jan 2024 13:49:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1705528186; x=1706132986;
 darn=gnu.org; 
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=/6WgZBhP6qOazUNKlY0+uCKlMxHR9GyORtE3ej3a1G0=;
 b=L1UUaDkRVAnzk8JgCnTqJqVVZxa2Bs8D6mgSfEOnFl8SECoRehcz7xlzufF7Cl163k
 1qkAFZtOP0sDqdKlqRXc7+1HuvAjQL3nKDK8HkMeZPl6kTKliDSyKu82go7IItDzCz97
 zIJdFyeg4vin/Tjhy8gK/dX15/ZEllCBr5O2eqSPfv1C97XkuUq1dt/apCRqvSOKYoUF
 4UTxCm+zJ+LHiqHBclZy+C98iBObr74P/7ghxymZ5Kwzgfg4pqRGeokEIY+gll+Clhua
 +6knFKo4BtyWHp2CC/ByNDb0OvmNSba/fnzcLOmH3aUV0EWSRtEwrOUMjZE8cavGkLCY
 DYKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705528186; x=1706132986;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=/6WgZBhP6qOazUNKlY0+uCKlMxHR9GyORtE3ej3a1G0=;
 b=xJgvxBaUc4Gz1kl2v7uHtT3/GmiZw7nEsKnvLEW2vB6TXh1LWe6kXLky4/uYtup6HW
 7ENp5z5JRJi9mVo4ZJyKd9YElyrJe6fFAwHWPcBOMnYN9NIRycNX311EWMQyUDX2VfJv
 FwyZT8O17CvsNz74DE2LK0i13Pn6JxjOLWpO9tiXpM1JHao1QWdJP2WDYPAfdW4HCZht
 9hO9RC69dik+YpMvHX39N5sc6f0R2pIZ6MB0pOzyMXRNdunraW8V8AsisIZ8W0RlnjZj
 SiE/f5bG1TsqCxn3ACuiGsQo9nNQec4L3NimdkujvXPszmBM6SEKeFNcxuvnf6Z5wEt2
 l0sA==
X-Gm-Message-State: AOJu0YwqJvZ/57kfk2n0KIS48LsNmOGFfDEnFIC6kG8z8NjTe2ZR8Muw
 HLgbpuaa2TgVe63y9cu6OZ7QblJzVPrto7uxZogbn/ed4ys=
X-Google-Smtp-Source: AGHT+IFUojD/m2RFqhQSIX8PQY6Zie/21qk14PTmkkyYUZbVWs9V0BJjNwM8cVIhzsf4vmrkmOmZ8w==
X-Received: by 2002:a05:6214:300b:b0:681:8a32:a75c with SMTP id
 ke11-20020a056214300b00b006818a32a75cmr235561qvb.68.1705528186766; 
 Wed, 17 Jan 2024 13:49:46 -0800 (PST)
Received: from ip-172-31-16-52.us-east-2.compute.internal
 (ec2-3-141-183-131.us-east-2.compute.amazonaws.com. [3.141.183.131])
 by smtp.gmail.com with ESMTPSA id
 w20-20020a0562140b3400b006817d42eac6sm778409qvj.53.2024.01.17.13.49.46
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 17 Jan 2024 13:49:46 -0800 (PST)
From: Greg Hogan <code@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add duckdb.
Date: Wed, 17 Jan 2024 21:49:18 +0000
Message-Id: <20240117214918.70863-1-code@HIDDEN>
X-Mailer: git-send-email 2.40.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=2607:f8b0:4864:20::f34;
 envelope-from=code@HIDDEN; helo=mail-qv1-xf34.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: Greg Hogan <code@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

There exists a package python-duckdb, and this patch adds a package for
the CLI and C++ libraries.

* gnu/packages/cpp.scm (duckdb): New variable.
---
 gnu/packages/cpp.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index ecd3e4afac..420d9e8708 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2020, 2022 Marius Bakke <marius@HIDDEN>
 ;;; Copyright © 2020 Michael Rohleder <mike@HIDDEN>
 ;;; Copyright © 2020 Alexandros Theodotou <alex@HIDDEN>
-;;; Copyright © 2020-2022 Greg Hogan <code@HIDDEN>
+;;; Copyright © 2020-2022, 2024 Greg Hogan <code@HIDDEN>
 ;;; Copyright © 2020 Brett Gilio <brettg@HIDDEN>
 ;;; Copyright © 2020 Milkey Mouse <milkeymouse@HIDDEN>
 ;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
@@ -3064,3 +3064,30 @@ (define-public tl-optional
 the std::optional for C++11/14/17, with support for monadic operations added in
 C++23.")
     (license license:cc0)))
+
+(define-public duckdb
+  (package
+    (name "duckdb")
+    (version "0.9.2")
+    (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/duckdb/duckdb")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0dbsxyiz7c8sxflbfj87qv0b2s69zk802vsk5h00ra8w8fcbqlj0"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            ;; There is no git checkout from which to read the version tag.
+            (substitute* "CMakeLists.txt"
+              (("set\\(DUCKDB_VERSION \"[^\"]*\"")
+               (string-append "set(DUCKDB_VERSION \"v" #$version "-dev0\"")))))))
+    (build-system cmake-build-system)
+    (synopsis "DuckDB embedded database")
+    (description "DuckDB is an in-process SQL OLAP database management system.")
+    (home-page "https://duckdb.org")
+    (license license:expat)))

base-commit: 692272661548eb2a46aaa818175b1a39b3fc9ffa
-- 
2.40.1





Acknowledgement sent to Greg Hogan <code@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#68552; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 14 Feb 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.