gnu: Remove nanodbc-for-irods.

* gnu/packages/databases.scm (nanodbc-for-irods): Delete variable.

Change-Id: I7b6aecc3b21589e2a9b53974046c7a03e954c3fc
This commit is contained in:
Andreas Enge 2025-09-14 18:45:54 +02:00
parent 744b3e9081
commit 089c22c273
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -3040,43 +3040,6 @@ a simpler and less verbose API for working with ODBC. Common tasks should be
easy, requiring concise and simple code.") easy, requiring concise and simple code.")
(license license:expat))) (license license:expat)))
(define-public nanodbc-for-irods
(package
(inherit nanodbc)
(arguments
`(#:tests? #false
#:configure-flags
'("-DBUILD_SHARED_LIBS=ON"
;; The tests require ODBC backends to be installed.
"-DNANODBC_DISABLE_TESTS=ON"
"-DCMAKE_CXX_COMPILER=clang++"
"-DCMAKE_CXX_FLAGS=-stdlib=libc++"
"-DCMAKE_EXE_LINKER_FLAGS=-lc++abi")
#:phases
(modify-phases %standard-phases
(add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
(lambda* (#:key inputs #:allow-other-keys)
(let ((gcc (assoc-ref inputs "gcc")))
(setenv "CPLUS_INCLUDE_PATH"
(string-join
(cons (string-append (assoc-ref inputs "libcxx")
"/include/c++/v1")
;; Hide GCC's C++ headers so that they do not interfere with
;; the Clang headers.
(delete (string-append gcc "/include/c++")
(string-split (getenv "CPLUS_INCLUDE_PATH")
#\:)))
":"))
(format #true
"environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
(getenv "CPLUS_INCLUDE_PATH"))))))))
(properties `((hidden? . #true)))
(inputs
`(("unixodbc" ,unixodbc)
("libcxx" ,libcxx+libcxxabi-6)
("libcxxabi" ,libcxxabi-6)
("clang" ,clang-6)))))
(define-public unqlite (define-public unqlite
(package (package
(name "unqlite") (name "unqlite")