~ruther/guix-local

fb3e1ab79a5c95d5245417ccfd73d0d76e954507 — Maxim Cournoyer 1 year, 10 months ago 5bd2569
gnu: soci: Use gexps and remove inputs labels.

* gnu/packages/databases.scm (soci) [propagated-inputs]: Remove labels.
[configure-flags]: Use gexps.

Change-Id: I7e96296255c41ca46a1cb1e4c9b1e73fbbc286d8
1 files changed, 14 insertions(+), 13 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +14 -13
@@ 5807,20 5807,21 @@ The drivers officially supported by @code{libdbi} are:
    (build-system cmake-build-system)
    (propagated-inputs
     ;; Headers of soci has include-references to headers of these inputs.
     `(("firebird" ,firebird)
       ("postgresql" ,postgresql)
       ("sqlite" ,sqlite)
       ("odbc" ,unixodbc)
       ("boost" ,boost)
       ("mariadb:dev" ,mariadb "dev")))
     (list firebird
           postgresql
           sqlite
           unixodbc
           boost
           `(,mariadb "dev")))
    (arguments
     `(#:configure-flags
       ;; C++11 (-DSOCI_CXX11) is OFF by default.  hyperledger-iroha needs it.
       (list "-DCMAKE_CXX_STANDARD=17"
             "-DSOCI_LIBDIR=lib"
             ;; This is for relocation when linking statically
             "-DCMAKE_CXX_FLAGS=-fPIE")
       #:tests? #f))         ; may require running database management systems
     (list #:configure-flags
           ;; C++11 (-DSOCI_CXX11) is OFF by default.  hyperledger-iroha needs
           ;; it.
           #~(list "-DCMAKE_CXX_STANDARD=17"
                   "-DSOCI_LIBDIR=lib"
                   ;; This is for relocation when linking statically
                   "-DCMAKE_CXX_FLAGS=-fPIE")
           #:tests? #f))     ; may require running database management systems
    (synopsis "C++ Database Access Library")
    (description
     "SOCI is an abstraction layer for several database backends, including