gnu: freetds: Build --with-unixodbc.

* gnu/packages/databases.scm (freetds)[arguments]<#:configure-flags>: Add
--with-unixodbc.
[inputs]: Add unixodbc.

Change-Id: I9469da8d06c1ec2f830f36b8f3a5be5bf3cbd53f
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Charles Roelli 2025-09-15 12:29:28 +02:00 committed by Danny Milosavljevic
parent 85e8036412
commit 6e583023ab
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -5806,10 +5806,13 @@ PostreSQL, SQLite, ODBC and MySQL.")
(sha256 (sha256
(base32 "11fzwcahc1bc8npxbif0448v9cwyf7k04167i7fcspmfw7a0hj0d")))) (base32 "11fzwcahc1bc8npxbif0448v9cwyf7k04167i7fcspmfw7a0hj0d"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (list unixodbc))
(arguments (arguments
;; NOTE: (Sharlatan-20210110213908+0000) some tests require DB connection, ;; NOTE: (Sharlatan-20210110213908+0000) some tests require DB connection,
;; disabled for now. ;; disabled for now.
`(#:tests? #f)) `(#:tests? #f
#:configure-flags
(list (string-append "--with-unixodbc=" (assoc-ref %build-inputs "unixodbc")))))
(home-page "https://www.freetds.org/") (home-page "https://www.freetds.org/")
(synopsis "Client libraries for MS SQL and Sybase servers") (synopsis "Client libraries for MS SQL and Sybase servers")
(description (description