GNU bug report logs -
#68552
[PATCH] gnu: Add duckdb.
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Wed, 17 Jan 2024 21:51:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#68552: [PATCH] gnu: Add duckdb.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 68552 <at> debbugs.gnu.org.
--
68552: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68552
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
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 <at> gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
;;; Copyright © 2020 Alexandros Theodotou <alex <at> zrythm.org>
-;;; Copyright © 2020-2022 Greg Hogan <code <at> greghogan.com>
+;;; Copyright © 2020-2022, 2024 Greg Hogan <code <at> greghogan.com>
;;; Copyright © 2020 Brett Gilio <brettg <at> gnu.org>
;;; Copyright © 2020 Milkey Mouse <milkeymouse <at> meme.institute>
;;; Copyright © 2021 Raghav Gururajan <rg <at> raghavgururajan.name>
@@ -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
This bug report was last modified 1 year and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.