summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-11-30 20:11:31 +0100
committerAndreas Enge <andreas@enge.fr>2025-11-30 20:16:50 +0100
commitd32c8fadd05aeb2738c047b6fcfea99e9788fa61 (patch)
tree00ae61b34fb113f2f01f8f4e75791adfd7afa467 /gnu
parent2445bc955bbd5ea87be7c91ef172bbc39178c2b2 (diff)
gnu: bdb: Do not inherit from bdb-4.8.
* gnu/packages/dbm.scm (bdb): Copy-paste all fields from bdb-4.8. [inherit]: Remove field. [source]: Do not inherit. Change-Id: I4b231218e30da5f651e59eb4a80e9efccca37402
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dbm.scm18
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index da24dde6499..76599685b83 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -251,20 +251,23 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
"See LICENSE in the distribution."))))
(define-public bdb-6
- (package (inherit bdb-4.8)
+ (package
(name "bdb")
(version "6.2.32")
(source (origin
- (inherit (package-source bdb-4.8))
(method url-fetch)
(uri (string-append "https://download.oracle.com/berkeley-db/db-"
version ".tar.gz"))
(sha256
(base32
"1yx8wzhch5wwh016nh0kfxvknjkafv6ybkqh6nh7lxx50jqf5id9"))
- (patches '())))
- ;; Copy-paste the arguments from bdb-4.8 and drop the
+ (modules '((guix build utils)
+ (srfi srfi-1)))
+ (snippet bdb-snippet)))
+ ;; Copy-paste the arguments from bdb-5.3 and drop the
;; 'bdb-configure patch phase.
+ (build-system gnu-build-system)
+ (outputs '("out" "doc"))
(arguments
(list #:tests? #f ; no check target available
#:disallowed-references '("doc")
@@ -317,6 +320,13 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
(("rm (.*) configure") "")
(("chmod (.*) config.guess(.*)$") ""))
(invoke "sh" "s_config"))))))
+ (native-inputs (list autoconf automake-1.16.5 libtool))
+ (synopsis "Berkeley database")
+ (description
+ "Berkeley DB is an embeddable database allowing developers the choice of
+SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
+ (home-page
+ "http://www.oracle.com/us/products/database/berkeley-db/overview/index.html")
;; Starting with version 6, BDB is distributed under AGPL3. Many individual
;; files are covered by the 3-clause BSD license.
(license (list license:agpl3+ license:bsd-3))))