1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Andreas Enge
2025-11-30 20:11:31 +01:00
parent 2445bc955b
commit d32c8fadd0

View File

@@ -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))))